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


Оператор Addition

Creates a user-defined function event set by performing an addition operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.

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

Синтаксис

'Декларация
Public Shared Operator + ( _
    eventSet As UserDefinedFunctionEventSet, _
    anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Применение
Dim eventSet As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

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

Параметры

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

Тип: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.