MergeSynchronizationAgent.Status Event
Occurs when the Merge Agent returns synchronization status information.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
语法
声明
Public Event Status As StatusEventHandler
public event StatusEventHandler Status
public:
event StatusEventHandler^ Status {
void add (StatusEventHandler^ eventHandler);
void remove (StatusEventHandler^ eventHandler);
}
/** @event */
public void add_Status (StatusEventHandler eventHandler)
/** @event */
public void remove_Status (StatusEventHandler eventHandler)
JScript 支持事件的使用,但不支持新事件的声明。
备注
The Status event can be handled during synchronous agent execution to display agent status information in an application.
The Status event is handled by the AgentCore.StatusEventHandler delegate, which returns agent status information.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace