Метод UnsubscribeFromEvents
Clears the specified event settings, and removes the specified event handlers.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub UnsubscribeFromEvents ( _
events As ServiceQueueEventSet _
)
'Применение
Dim instance As ServiceQueueEvents
Dim events As ServiceQueueEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
ServiceQueueEventSet events
)
public:
void UnsubscribeFromEvents(
ServiceQueueEventSet^ events
)
member UnsubscribeFromEvents :
events:ServiceQueueEventSet -> unit
public function UnsubscribeFromEvents(
events : ServiceQueueEventSet
)
Параметры
- events
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the set of events to stop receiving.
См. также