Share via


MergeSynchronizationAgent.ComStatus Event

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Occurs when the Merge Agent returns synchronization Com status information.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Event ComStatus As AgentCore.StatusEventHandler
'Usage
Dim instance As MergeSynchronizationAgent 
Dim handler As AgentCore.StatusEventHandler 

AddHandler instance.ComStatus, handler
public event AgentCore.StatusEventHandler ComStatus
public:
 event AgentCore.StatusEventHandler^ ComStatus {
    void add (AgentCore.StatusEventHandler^ value);
    void remove (AgentCore.StatusEventHandler^ value);
}
member ComStatus : IEvent<AgentCore.StatusEventHandler,
    StatusEventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

MergeSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace