Metodo RemoteServiceBindingEvents.UnsubscribeFromEvents

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

Parametri

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

RemoteServiceBindingEvents Classe

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