Delen via


UserDefinedFunctionEvent.Add Method

Adds two user defined function events to create a user defined function event set.

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

Syntax

'Declaration
Public Shared Function Add ( _
    eventLeft As UserDefinedFunctionEvent, _
    eventRight As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Usage
Dim eventLeft As UserDefinedFunctionEvent
Dim eventRight As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

returnValue = UserDefinedFunctionEvent.Add(eventLeft, _
    eventRight)
public static UserDefinedFunctionEventSet Add(
    UserDefinedFunctionEvent eventLeft,
    UserDefinedFunctionEvent eventRight
)
public:
static UserDefinedFunctionEventSet^ Add(
    UserDefinedFunctionEvent^ eventLeft, 
    UserDefinedFunctionEvent^ eventRight
)
static member Add : 
        eventLeft:UserDefinedFunctionEvent * 
        eventRight:UserDefinedFunctionEvent -> UserDefinedFunctionEventSet 
public static function Add(
    eventLeft : UserDefinedFunctionEvent, 
    eventRight : UserDefinedFunctionEvent
) : UserDefinedFunctionEventSet