共用方式為


ServiceQueue.MaxReaders 屬性

Gets or sets the maximum number of concurrent queue readers.

命名空間:  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
An Int16 value that specifies the maximum number of concurrent queue readers.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceQueue 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)

CREATE QUEUE (Transact-SQL)