Condividi tramite


AgentCore.Status Event

Occurs when a running agent returns status information.

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Sintassi

'Dichiarazione
Public Event Status As StatusEventHandler
public event StatusEventHandler Status
public:
event StatusEventHandler^ Status {
    void add (StatusEventHandler^ value);
    void remove (StatusEventHandler^ value);
}
/** @event */
public void add_Status (StatusEventHandler value)

/** @event */
public void remove_Status (StatusEventHandler value)
JScript non supporta la dichiarazione di nuovi eventi ma ne supporta l'utilizzo.

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AgentCore Class
AgentCore Members
Microsoft.SqlServer.Replication Namespace