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


Метод SubscribeToEvents (StoredProcedureEventSet)

Specifies the stored procedure events to receive.

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

Синтаксис

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

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

Параметры

Замечания

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