Compartir a través de


Addition Operador

Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Shared Operator + ( _
    eventLeft As UserDefinedFunctionEvent, _
    eventRight As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Uso
Dim eventLeft As UserDefinedFunctionEvent
Dim eventRight As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

returnValue = (eventLeft + eventRight)
public static UserDefinedFunctionEventSet operator +(
    UserDefinedFunctionEvent eventLeft,
    UserDefinedFunctionEvent eventRight
)
public:
static UserDefinedFunctionEventSet^ operator +(
    UserDefinedFunctionEvent^ eventLeft, 
    UserDefinedFunctionEvent^ eventRight
)
static let inline (+)
        eventLeft:UserDefinedFunctionEvent * 
        eventRight:UserDefinedFunctionEvent  : UserDefinedFunctionEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

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