Метод 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
Тип: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the set of events to receive.