Оператор Addition
Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Operator + ( _
eventSet As ObjectEventSet, _
anEvent As ObjectEvent _
) As ObjectEventSet
'Применение
Dim eventSet As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = (eventSet + anEvent)
public static ObjectEventSet operator +(
ObjectEventSet eventSet,
ObjectEvent anEvent
)
public:
static ObjectEventSet^ operator +(
ObjectEventSet^ eventSet,
ObjectEvent^ anEvent
)
static let inline (+)
eventSet:ObjectEventSet *
anEvent:ObjectEvent : ObjectEventSet
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- eventSet
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that specifies the object event set.
- anEvent
Тип: 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.