Compartilhar via


Evento ComStatus

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

Sintaxe

'Declaração
Public Event ComStatus As AgentCore..::..StatusEventHandler
'Uso
Dim instance As AgentCore
Dim handler As AgentCore..::..StatusEventHandler

AddHandler instance.ComStatus, handler
public event AgentCore..::..StatusEventHandler ComStatus
public:
 event AgentCore..::..StatusEventHandler^ ComStatus {
    void add (AgentCore..::..StatusEventHandler^ value);
    void remove (AgentCore..::..StatusEventHandler^ value);
}
member ComStatus : IEvent<AgentCore..::..StatusEventHandler,
    StatusEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.