次の方法で共有


ServiceQueueEventSet.Add メソッド (ServiceQueueEvent)

参照先の Service Broker キュー イベント セットに新しいキュー イベントを追加した後、そのイベント セットを返します。

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

構文

'宣言
Public Function Add ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'使用
Dim instance As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = instance.Add(anEvent)
public ServiceQueueEventSet Add(
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet^ Add(
    ServiceQueueEvent^ anEvent
)
member Add : 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public function Add(
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
イベント セットを表す ServiceQueueEventSet です。

使用例

SMO イベントの処理

関連項目

参照

ServiceQueueEventSet クラス

Add オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間