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 DatabaseEventSet _
)
'Utilisation
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
)
Paramètres
- events
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that specifies the set of events to stop receiving.