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.