Udostępnij za pośrednictwem


Zdarzenie TransSynchronizationAgent.Status

Występuje, gdy Agent dystrybucji zwraca informacje o stanie synchronizacji.

Przestrzeń nazw:  Microsoft.SqlServer.Replication
Zestaw:  Microsoft.SqlServer.Replication (w Microsoft.SqlServer.Replication.dll)

Składnia

'Deklaracja
Public Event Status As AgentCore..::..StatusEventHandler
'Użycie
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>
Język JScript obsługuje używanie zdarzeń, ale nie obsługuje deklarowania nowych.

Uwagi

Status Zdarzenie jest obsługiwane przez AgentCore.StatusEventHandler.