Metodo ServiceQueueEvents.UnsubscribeFromEvents

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub UnsubscribeFromEvents ( _
    events As ServiceQueueEventSet _
)
'Utilizzo
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
)

Parametri

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ServiceQueueEvents Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker