指定した 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
)
パラメーター
- serviceBroker
型: Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
メッセージ交換の優先度が定義される Service Broker の実装を示す ServiceBroker オブジェクトの値です。
- name
型: System.String
メッセージ交換の優先度の名前を指定する String 値です。
使用例
CREATE BROKER PRIORITY (Transact-SQL)
関連項目
参照
Microsoft.SqlServer.Management.Smo.Broker 名前空間
その他の技術情報
CREATE BROKER PRIORITY (Transact-SQL)