Événement ComStatus
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
Public Event ComStatus As AgentCore..::..StatusEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.
Voir aussi