AgentCore.StatusEventHandler Delegate
Delegate that handles the Status event that is raised during agent execution.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
語法
'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
sender As Object, _
e As StatusEventArgs _
)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler (
Object sender,
StatusEventArgs e
)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler (
Object^ sender,
StatusEventArgs^ e
)
/** @delegate */
/** @attribute ComVisibleAttribute(false) */
public delegate void StatusEventHandler (
Object sender,
StatusEventArgs e
)
JScript 支援委派的使用,但不支援新委派的宣告。
參數
- sender
The source of the status event.
- e
A StatusEventArgs object that contains the event data.
備註
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
Microsoft.SqlServer.Replication Namespace
其他資源
如何:同步處理提取訂閱 (RMO 程式設計)
如何:同步處理發送訂閱 (RMO 程式設計)
Sales Orders Sample Implementation Details