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.

备注

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