AgentCore.Status イベント
Occurs when a running agent returns status information.
名前空間: Microsoft.SqlServer.Replication
アセンブリ: Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)
構文
'宣言
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.