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