Condividi tramite


Metodo ServerEvents.UnsubscribeFromEvents (ServerEventSet)

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 ServerEventSet _
)
'Utilizzo
Dim instance As ServerEvents 
Dim events As ServerEventSet

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

Parametri

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ServerEvents Classe

Overload UnsubscribeFromEvents

Spazio dei nomi Microsoft.SqlServer.Management.Smo