Share via


UserDefinedFunctionEvent.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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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

Examples

Handling SMO Events

See Also

Reference

UserDefinedFunctionEvent Class

Microsoft.SqlServer.Management.Smo Namespace