Sdílet prostřednictvím


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> _
Public Property MaxReaders As Short
    Get
    Set
'Usage
Dim instance As ServiceQueue
Dim value As Short

value = instance.MaxReaders

instance.MaxReaders = value
[SfcPropertyAttribute]
public short MaxReaders { get; set; }
[SfcPropertyAttribute]
public:
property short MaxReaders {
    short get ();
    void set (short value);
}
[<SfcPropertyAttribute>]
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.