Partager via


Événement Status

Occurs when the Merge Agent returns synchronization status information.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Event Status As AgentCore..::..StatusEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.

Notes

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.