ServiceQueue.MaxReaders Property

Gets or sets the maximum number of concurrent queue readers.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaxReaders As Short 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Int16
An Int16 value that specifies the maximum number of concurrent queue readers.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceQueue Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker

CREATE QUEUE (Transact-SQL)