Dela via


TableEvents.SubscribeToEvents Method (TableEventSet)

Specifies the table events to receive.

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

Syntax

'Declaration
Public Sub SubscribeToEvents ( _
    events As TableEventSet _
)
'Usage
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
)

Parameters

Remarks

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