Sdílet prostřednictvím


ServerEvents.UnsubscribeFromEvents Method

Include Protected Members
Include Inherited Members

Clears the specified event settings, and removes all event handlers.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method UnsubscribeFromEvents(ServerEventSet) Clears the specified event settings, and removes all event handlers.
Public method UnsubscribeFromEvents(ServerTraceEventSet) Clears the specified event settings, and removes all event handlers.

Top

See Also

Reference

ServerEvents Class

Microsoft.SqlServer.Management.Smo Namespace