Método ServerRoleEvents.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 ServerRoleEvents

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

Consulte também

Referência

ServerRoleEvents Classe

Namespace Microsoft.SqlServer.Management.Smo