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 SqlAssemblyEventSet _
)
'Utilisation
Dim instance As SqlAssemblyEvents
Dim events As SqlAssemblyEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
SqlAssemblyEventSet events
)
public:
void UnsubscribeFromEvents(
SqlAssemblyEventSet^ events
)
member UnsubscribeFromEvents :
events:SqlAssemblyEventSet -> unit
public function UnsubscribeFromEvents(
events : SqlAssemblyEventSet
)
Paramètres
- events
Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object that specifies the set of events to stop receiving.