Condividi tramite


Evento MergeSynchronizationAgent.Status

Occurs when the Merge Agent returns synchronization status information.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Event Status As AgentCore.StatusEventHandler
'Utilizzo
Dim instance As MergeSynchronizationAgent 
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.

Osservazioni

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.

Vedere anche

Riferimento

MergeSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication

Altre risorse

Sales Orders Sample Implementation Details