共用方式為


ServerEvents.UnsubscribeFromEvents Method

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

備註

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

多載清單

名稱 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.

請參閱

參考

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

其他資源

Handling SMO Events