Evento BrokerServiceEvents.ServerEvent
Specifies the event raised when an event occurs in BrokerService object and the user subscribed to the events from that object instance.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Event ServerEvent As ServerEventHandler
'Uso
Dim instance As BrokerServiceEvents
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.