ServerRoleEvents.UnsubscribeAllEvents メソッド

すべてのイベント設定を消去し、すべてのイベント ハンドラーを削除します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub UnsubscribeAllEvents
'使用
Dim instance As ServerRoleEvents

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

関連項目

参照

ServerRoleEvents クラス

Microsoft.SqlServer.Management.Smo 名前空間