Freigeben über


UserDefinedFunctionEvents.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

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

UserDefinedFunctionEvents Klasse

Microsoft.SqlServer.Management.Smo-Namespace