Partager via


Méthode SubscribeToEvents (UserDefinedFunctionEventSet)

Specifies the user-defined function events to receive.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub SubscribeToEvents ( _
    events As UserDefinedFunctionEventSet _
)
'Utilisation
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
)

Paramètres

Notes

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