Поделиться через


Событие Status

Occurs when the Merge Agent returns synchronization status information.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
Public Event Status As AgentCore..::..StatusEventHandler
'Применение
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 поддерживает использование событий, но не объявление новых.

Замечания

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.