Поделиться через


Метод SubscribeToEvents (TableEventSet)

Specifies the table events to receive.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub SubscribeToEvents ( _
    events As TableEventSet _
)
'Применение
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
)

Параметры

Замечания

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