次の方法で共有


ServiceQueueEvent.Add メソッド

2 つの指定したイベントを一緒に追加することによって作成される Service Broker キュー イベントのセットを返します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Shared Function Add ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'使用
Dim eventLeft As ServiceQueueEvent 
Dim eventRight As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

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

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
Service Broker キュー イベントのセットを示す ServiceQueueEventSet オブジェクトの値です。

使用例

SMO イベントの処理

関連項目

参照

ServiceQueueEvent クラス

Microsoft.SqlServer.Management.Smo 名前空間