Partilhar via


ServerEvents.UnsubscribeFromEvents Method

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

Remarks

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

Overload List

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

See Also

Reference

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

Other Resources

Handling SMO Events