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


Метод Add (ServiceQueueEvent)

Returns a Service Broker queue event set after adding a new queue event to the referenced set.

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

Синтаксис

'Декларация
Public Function Add ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Применение
Dim instance As ServiceQueueEventSet
Dim anEvent As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet

returnValue = instance.Add(anEvent)
public ServiceQueueEventSet Add(
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet^ Add(
    ServiceQueueEvent^ anEvent
)
member Add : 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet 
public function Add(
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet that represents the event set.