Aracılığıyla paylaş


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

'Bildirim
Public Sub SubscribeToEvents ( _
    events As TableEventSet _
)
'Kullanım
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.

Examples

Handling SMO Events

See Also

Reference

TableEvents Class

SubscribeToEvents Overload

Microsoft.SqlServer.Management.Smo Namespace