UnsubscribeAllEvents 方法

Clears all event settings, and removes all event handlers.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub UnsubscribeAllEvents
用法
Dim instance As StatisticEvents

instance.UnsubscribeAllEvents()
public void UnsubscribeAllEvents()
public:
void UnsubscribeAllEvents()
member UnsubscribeAllEvents : unit -> unit 
public function UnsubscribeAllEvents()