次の方法で共有


ServiceQueueEventSet.Addition 演算子

ServiceQueueEvent オブジェクトと ServiceQueueEventSet オブジェクトの加算演算を実行することによって、サービス キュー トレース イベントのセットを作成します。

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

構文

'宣言
Public Shared Operator + ( _
    eventSet As ServiceQueueEventSet, _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'使用
Dim eventSet As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = (eventSet + anEvent)
public static ServiceQueueEventSet operator +(
    ServiceQueueEventSet eventSet,
    ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ operator +(
    ServiceQueueEventSet^ eventSet, 
    ServiceQueueEvent^ anEvent
)
static let inline(+)
        eventSet:ServiceQueueEventSet * 
        anEvent:ServiceQueueEvent  : ServiceQueueEventSet
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

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

使用例

SMO イベントの処理

関連項目

参照

ServiceQueueEventSet クラス

Microsoft.SqlServer.Management.Smo 名前空間