BrokerPriority オブジェクトに関連付けられた優先度レベルを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo.Broker
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PriorityLevel As Byte
Get
Set
'使用
Dim instance As BrokerPriority
Dim value As Byte
value = instance.PriorityLevel
instance.PriorityLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte PriorityLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property unsigned char PriorityLevel {
unsigned char get ();
void set (unsigned char value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PriorityLevel : byte with get, set
function get PriorityLevel () : byte
function set PriorityLevel (value : byte)
プロパティ値
型: System.Byte
メッセージ交換の優先度で指定されているコントラクトとサービスを使用する、すべてのメッセージ交換のエンドポイントに割り当てられる優先度レベルを指定する Byte 値です。
説明
PriorityLevel は 1 (最も低い優先度) から 10 (最も高い優先度) までの整数になります。 既定値は 5 です。
使用例
CREATE BROKER PRIORITY (Transact-SQL)
関連項目
参照
Microsoft.SqlServer.Management.Smo.Broker 名前空間