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