DacProgressEventArgs.OperationId 属性

Gets the ID of the top-level task the progress event relates to.

命名空间:  Microsoft.SqlServer.Dac
程序集:  Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)

语法

声明
Public ReadOnly Property OperationId As Integer 
    Get
用法
Dim instance As DacProgressEventArgs 
Dim value As Integer 

value = instance.OperationId
public int OperationId { get; }
public:
property int OperationId {
    int get ();
}
member OperationId : int
function get OperationId () : int

属性值

类型:System.Int32
The task ID.

注释

The following are task IDS:

  • Extract = 1

  • Publish = 2

  • ImportData = 3

  • ExportData = 4

  • Unregister = 5

  • Register = 6

  • DriftReport = 7

  • DeployReport = 8

  • Script = 9

请参阅

参考

DacProgressEventArgs 类

Microsoft.SqlServer.Dac 命名空间