BrokerServiceEvents.UnsubscribeAllEvents Method

Clears all event settings, and removes all event handlers.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub UnsubscribeAllEvents
'Usage
Dim instance As BrokerServiceEvents

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