Freigeben über


SubscribeToEvents-Methode (UserDefinedFunctionEventSet)

Specifies the user-defined function events to receive.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub SubscribeToEvents ( _
    events As UserDefinedFunctionEventSet _
)
'Usage
Dim instance As UserDefinedFunctionEvents
Dim events As UserDefinedFunctionEventSet

instance.SubscribeToEvents(events)
public void SubscribeToEvents(
    UserDefinedFunctionEventSet events
)
public:
void SubscribeToEvents(
    UserDefinedFunctionEventSet^ events
)
member SubscribeToEvents : 
        events:UserDefinedFunctionEventSet -> unit 
public function SubscribeToEvents(
    events : UserDefinedFunctionEventSet
)

Parameter

Hinweise

Events are sent to the event handlers that are registered with the ServerEvent event.