次の方法で共有


ServiceQueue.MaxReaders プロパティ

同時に使用可能なキュー リーダーの最大数を取得または設定します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaxReaders As Short 
    Get 
    Set
'使用
Dim instance As ServiceQueue 
Dim value As Short 

value = instance.MaxReaders

instance.MaxReaders = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public short MaxReaders { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property short MaxReaders {
    short get ();
    void set (short value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaxReaders : int16 with get, set
function get MaxReaders () : short 
function set MaxReaders (value : short)

プロパティ値

型: System.Int16
同時に使用可能なキュー リーダーの最大数を示す Int16 値です。

使用例

Readme_ServiceBrokerConfiguration

関連項目

参照

ServiceQueue クラス

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

その他の技術情報

開発 (Service Broker)

Service Broker の管理

概要 (Service Broker)

CREATE QUEUE (Transact-SQL)