AgentCore::Status Event

Occurs when a running agent returns status information.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

public:
 event AgentCore::StatusEventHandler^ Status {
	void add (AgentCore::StatusEventHandler^ value);
	void remove (AgentCore::StatusEventHandler^ value);
}

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.

Community Additions

Show: