Condividi tramite


Metodo UnsubscribeFromEvents

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

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

Sintassi

'Dichiarazione
Public Sub UnsubscribeFromEvents ( _
    events As ObjectEventSet _
)
'Utilizzo
Dim instance As IndexEvents
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