UserEvents.UnsubscribeFromEvents Método
Clears the specified event settings, and removes all event handlers.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub UnsubscribeFromEvents ( _
events As ObjectEventSet _
)
'Uso
Dim instance As UserEvents
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
)
Parámetros
- events
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of events to stop receiving.