共用方式為


IComStatusEvent.ComStatus 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Delegate that handles the Status event that is raised during agent execution.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Sub ComStatus ( _
    sender As Object, _
    args As StatusEventArgs _
)
'用途
Dim instance As IComStatusEvent 
Dim sender As Object 
Dim args As StatusEventArgs

instance.ComStatus(sender, args)
void ComStatus(
    Object sender,
    StatusEventArgs args
)
void ComStatus(
    Object^ sender, 
    StatusEventArgs^ args
)
abstract ComStatus : 
        sender:Object * 
        args:StatusEventArgs -> unit
function ComStatus(
    sender : Object, 
    args : StatusEventArgs
)

參數

請參閱

參考

IComStatusEvent 介面

Microsoft.SqlServer.Replication 命名空間