共用方式為


Add 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared Function Add ( _
    eventLeft As UserDefinedFunctionEvent, _
    eventRight As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'用途
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