Status 이벤트

Occurs when a running agent returns status information.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication.dll의 Microsoft.SqlServer.Replication

구문

‘선언
Public Event Status As AgentCore..::..StatusEventHandler
‘사용 방법
Dim instance As AgentCore
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 that AgentCore..::..StatusEventHandler delegate, which returns agent status information.

To handle the Status event, a Microsoft Visual Basic program must declare WithEvents of the appropriate type.