Proprietà ServiceQueue.MaxReaders

Gets or sets the maximum number of concurrent queue readers.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

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

Valore proprietà

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

Esempi

Readme_ServiceBrokerConfiguration

Vedere anche

Riferimento

ServiceQueue Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker

Altre risorse

Sviluppo (Service Broker)

Gestione di Service Broker

Panoramica (Service Broker)

CREATE QUEUE (Transact-SQL)