次の方法で共有


Add メソッド

2 つのユーザー定義関数イベントを加算して、ユーザー定義関数のイベント セットを作成します。

名前空間:  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