Add 方法

将两个用户定义函数事件相加以便创建一个用户定义函数事件集。

命名空间:  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