Freigeben über


Addition-Operator

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Operator + ( _
    eventLeft As UserDefinedFunctionEvent, _
    eventRight As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Usage
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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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