ServerEvent-Ereignis
Specifies the event raised when an event occurs in ServiceQueue object and the user subscribed to the events from that object instance.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Event ServerEvent As ServerEventHandler
'Usage
Dim instance As ServiceQueueEvents
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 unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration neuer Ereignisse.