Partilhar via


ServerEvents.SubscribeToEvents Method

Specifies the server events to receive.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
ServerEvents.SubscribeToEvents (ServerEventSet)
Specifies the server events to receive.
ServerEvents.SubscribeToEvents (ServerTraceEventSet)
Specifies the server trace events to receive.
ServerEvents.SubscribeToEvents (ServerEventSet, ServerEventHandler)
Specifies the server events to receive and the event handler that handles the events.
ServerEvents.SubscribeToEvents (ServerTraceEventSet, ServerEventHandler)
Specifies the server trace events to receive and the event handler that handles the events.

See Also

Reference

ServerEvents Class
ServerEvents Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events