Partager via


SubscribeToEvents méthode (TableEventSet)

Specifies the table events to receive.

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

Syntaxe

'Déclaration
Public Sub SubscribeToEvents ( _
    events As TableEventSet _
)
'Utilisation
Dim instance As TableEvents
Dim events As TableEventSet

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

Paramètres

Notes

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