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