Compartilhar via


Método UnsubscribeFromEvents (ServerEventSet)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub UnsubscribeFromEvents ( _
    events As ServerEventSet _
)
'Uso
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
)

Parâmetros