Sdílet prostřednictvím


TransSynchronizationAgent.Status Event

Occurs when the Distribution Agent returns synchronization status information.

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

Syntax

'Declaration
Public Event Status As AgentCore..::..StatusEventHandler
'Usage
Dim instance As TransSynchronizationAgent
Dim handler As AgentCore..::..StatusEventHandler

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

Remarks

The Status event is handled by the AgentCore.StatusEventHandler.