Partilhar via


Método UnsubscribeFromEvents

Clears the specified event settings, and removes the specified event handlers.

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

Sintaxe

'Declaração
Public Sub UnsubscribeFromEvents ( _
    events As ServiceQueueEventSet _
)
'Uso
Dim instance As ServiceQueueEvents
Dim events As ServiceQueueEventSet

instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
    ServiceQueueEventSet events
)
public:
void UnsubscribeFromEvents(
    ServiceQueueEventSet^ events
)
member UnsubscribeFromEvents : 
        events:ServiceQueueEventSet -> unit 
public function UnsubscribeFromEvents(
    events : ServiceQueueEventSet
)

Parâmetros