Partilhar via


Método SubscribeToEvents (UserDefinedFunctionEventSet)

Specifies the user-defined function events to receive.

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

Sintaxe

'Declaração
Public Sub SubscribeToEvents ( _
    events As UserDefinedFunctionEventSet _
)
'Uso
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
)

Parâmetros

Comentários

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