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 DatabaseEventSet _
)
'Uso
Dim instance As DatabaseEvents
Dim events As DatabaseEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
DatabaseEventSet events
)
public:
void UnsubscribeFromEvents(
DatabaseEventSet^ events
)
member UnsubscribeFromEvents :
events:DatabaseEventSet -> unit
public function UnsubscribeFromEvents(
events : DatabaseEventSet
)
Parámetros
- events
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that specifies the set of events to stop receiving.
Vea también