Поделиться через


Оператор Addition

Creates a view event set by performing an addition operation on two ViewEvent objects.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Shared Operator + ( _
    eventLeft As ViewEvent, _
    eventRight As ViewEvent _
) As ViewEventSet
'Применение
Dim eventLeft As ViewEvent
Dim eventRight As ViewEvent
Dim returnValue As ViewEventSet

returnValue = (eventLeft + eventRight)
public static ViewEventSet operator +(
    ViewEvent eventLeft,
    ViewEvent eventRight
)
public:
static ViewEventSet^ operator +(
    ViewEvent^ eventLeft, 
    ViewEvent^ eventRight
)
static let inline (+)
        eventLeft:ViewEvent * 
        eventRight:ViewEvent  : ViewEventSet
JScript поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet object value that specifies a set of view events.