UnsubscribeFromEvents-Methode
Clears the specified event settings, and removes all event handlers.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub UnsubscribeFromEvents ( _
events As UserDefinedFunctionEventSet _
)
'Usage
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
)
Parameter
- events
Typ: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that specifies the set of events to stop receiving.