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