Метод Add
Returns a Service Broker queue event set that is created by adding two specified events together.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Function Add ( _
eventLeft As ServiceQueueEvent, _
eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'Применение
Dim eventLeft As ServiceQueueEvent
Dim eventRight As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet
returnValue = ServiceQueueEvent.Add(eventLeft, _
eventRight)
public static ServiceQueueEventSet Add(
ServiceQueueEvent eventLeft,
ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ Add(
ServiceQueueEvent^ eventLeft,
ServiceQueueEvent^ eventRight
)
static member Add :
eventLeft:ServiceQueueEvent *
eventRight:ServiceQueueEvent -> ServiceQueueEventSet
public static function Add(
eventLeft : ServiceQueueEvent,
eventRight : ServiceQueueEvent
) : ServiceQueueEventSet
Параметры
- eventLeft
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies a Service Broker queue event.
- eventRight
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies another Service Broker queue event.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of Service Broker queue events.