PriorityLevel プロパティ

BrokerPriority オブジェクトに関連付けられた優先度レベルを取得します。値の設定も可能です。

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

構文

'宣言
<SfcPropertyAttribute> _
Public Property PriorityLevel As Byte
    Get
    Set
'使用
Dim instance As BrokerPriority
Dim value As Byte

value = instance.PriorityLevel

instance.PriorityLevel = value
[SfcPropertyAttribute]
public byte PriorityLevel { get; set; }
[SfcPropertyAttribute]
public:
property unsigned char PriorityLevel {
    unsigned char get ();
    void set (unsigned char value);
}
[<SfcPropertyAttribute>]
member PriorityLevel : byte with get, set
function get PriorityLevel () : byte
function set PriorityLevel (value : byte)

プロパティ値

型: System. . :: . .Byte
メッセージ交換の優先度で指定されているコントラクトとサービスを使用する、すべてのメッセージ交換のエンドポイントに割り当てられる優先度レベルを指定する Byte 値です。

説明

PriorityLevel は 1 (最も低い優先度) から 10 (最も高い優先度) までの整数になります。既定値は 5 です。