Метод SubscribeToEvents (ObjectEventSet)
Specifies the trigger events to receive.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub SubscribeToEvents ( _
events As ObjectEventSet _
)
'Применение
Dim instance As TriggerEvents
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
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that specifies the set of events to receive.