Partilhar via


Evento MergeSynchronizationAgent.Status

Occurs when the Merge Agent returns synchronization status information.

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

Sintaxe

'Declaração
Public Event Status As AgentCore.StatusEventHandler
'Uso
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Comentários

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.

Consulte também

Referência

MergeSynchronizationAgent Classe

Namespace Microsoft.SqlServer.Replication

Outros recursos

Sales Orders Sample Implementation Details