Méthode UnsubscribeFromEvents
Clears the specified event settings, and removes all event handlers.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub UnsubscribeFromEvents ( _
events As ObjectEventSet _
)
'Utilisation
Dim instance As TriggerEvents
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
)
Paramètres
- events
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that specifies the set of events to stop receiving.