Оператор Addition
Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Operator + ( _
eventLeft As ServiceQueueEvent, _
eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'Применение
Dim eventLeft As ServiceQueueEvent
Dim eventRight As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet
returnValue = (eventLeft + eventRight)
public static ServiceQueueEventSet operator +(
ServiceQueueEvent eventLeft,
ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ operator +(
ServiceQueueEvent^ eventLeft,
ServiceQueueEvent^ eventRight
)
static let inline (+)
eventLeft:ServiceQueueEvent *
eventRight:ServiceQueueEvent : ServiceQueueEventSet
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- eventLeft
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue events.
- eventRight
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue events.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.