Método UnsubscribeAllEvents

Clears all event settings, and removes all event handlers.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub UnsubscribeAllEvents
'Uso
Dim instance As ServerEvents

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