Compartilhar via


Método ServiceContractEvents.UnsubscribeFromEvents

Clears the specified event settings, and removes all 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 ObjectEventSet _
)
'Uso
Dim instance As ServiceContractEvents 
Dim events As ObjectEventSet

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

Parâmetros

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceContractEvents Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Gerenciando o Service Broker

Visão geral (Service Broker)