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
- events
Type: Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object that specifies the set of events to receive.
Remarks
Events are sent to the event handlers that are registered with the ServerEvent event.