Evento ServiceRouteEvents.ServerEvent
Specifies the event raised when an event occurs in ServiceRoute object and the user subscribed to the events from that object instance.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Event ServerEvent As ServerEventHandler
'Utilizzo
Dim instance As ServiceRouteEvents
Dim handler As ServerEventHandler
AddHandler instance.ServerEvent, handler
public event ServerEventHandler ServerEvent
public:
event ServerEventHandler^ ServerEvent {
void add (ServerEventHandler^ value);
void remove (ServerEventHandler^ value);
}
member ServerEvent : IEvent<ServerEventHandler,
ServerEventArgs>
JScript supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.
Esempi
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker