Método UnsubscribeFromEvents
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 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.