次の方法で共有


AgentCore.StatusEventHandler デリゲート

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

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
    sender As Object, _
    e As StatusEventArgs _
)
'使用
Dim instance As New StatusEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
    Object sender,
    StatusEventArgs e
)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
    Object^ sender, 
    StatusEventArgs^ e
)
[<ComVisibleAttribute(false)>]
type StatusEventHandler = 
    delegate of  
        sender:Object * 
        e:StatusEventArgs -> unit
JScript はデリゲートの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

説明

The Status event returns a status message from the replication agent during synchronization. The AgentCore.StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.

関連項目

参照

Microsoft.SqlServer.Replication 名前空間

その他の技術情報

プル サブスクリプションを同期する方法 (RMO プログラミング)

プッシュ サブスクリプションを同期する方法 (RMO プログラミング)

Sales Orders Sample Implementation Details