共用方式為


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 命名空間