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


Метод SubscribeToEvents (ObjectEventSet)

Specifies the index events to receive.

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

Синтаксис

'Декларация
Public Sub SubscribeToEvents ( _
    events As ObjectEventSet _
)
'Применение
Dim instance As IndexEvents
Dim events As ObjectEventSet

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

Параметры

Замечания

Events are sent to the event handlers that are registered with the OnEvent statement.