ServerEvents.SubscribeToEvents Method

 

Specifies the server events to receive.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodSubscribeToEvents(ServerEventSet)

Specifies the server events to receive.

System_CAPS_pubmethodSubscribeToEvents(ServerEventSet, ServerEventHandler)

Specifies the server events to receive and the event handler that handles the events.

System_CAPS_pubmethodSubscribeToEvents(ServerTraceEventSet)

Specifies the server trace events to receive.

System_CAPS_pubmethodSubscribeToEvents(ServerTraceEventSet, ServerEventHandler)

Specifies the server trace events to receive and the event handler that handles the events.

Return to top
Show: