次の方法で共有


BrokerPriority コンストラクター (ServiceBroker, String)

指定した Service Broker の実装で、指定した名前を使用して BrokerPriority クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    serviceBroker As ServiceBroker, _
    name As String _
)
'使用
Dim serviceBroker As ServiceBroker 
Dim name As String 

Dim instance As New BrokerPriority(serviceBroker, _
    name)
public BrokerPriority(
    ServiceBroker serviceBroker,
    string name
)
public:
BrokerPriority(
    ServiceBroker^ serviceBroker, 
    String^ name
)
new : 
        serviceBroker:ServiceBroker * 
        name:string -> BrokerPriority
public function BrokerPriority(
    serviceBroker : ServiceBroker, 
    name : String
)

パラメーター

  • name
    型: System.String
    メッセージ交換の優先度の名前を指定する String 値です。

使用例

CREATE BROKER PRIORITY (Transact-SQL)

関連項目

参照

BrokerPriority クラス

BrokerPriority オーバーロード

Microsoft.SqlServer.Management.Smo.Broker 名前空間

その他の技術情報

メッセージ交換の優先度

メッセージ交換の優先度の管理

メッセージ交換の優先度のトラブルシューティング

開発 (Service Broker)

概要 (Service Broker)

CREATE BROKER PRIORITY (Transact-SQL)

ALTER BROKER PRIORITY (Transact-SQL)

DROP BROKER PRIORITY (Transact-SQL)