Propriété ConnectionSettings.MaxPoolSize

Obtient ou définit le nombre maximal de connexions d'un pool que la connexion spécifiée accepte lors de l'établissement d'une connexion avec un serveur.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Property MaxPoolSize As Integer 
    Get 
    Set
'Utilisation
Dim instance As ConnectionSettings 
Dim value As Integer 

value = instance.MaxPoolSize

instance.MaxPoolSize = value
public int MaxPoolSize { get; set; }
public:
property int MaxPoolSize {
    int get ();
    void set (int value);
}
member MaxPoolSize : int with get, set
function get MaxPoolSize () : int 
function set MaxPoolSize (value : int)

Valeur de propriété

Type : Int32
Valeur Int32 qui spécifie le nombre maximal de connexions d'un pool.

Voir aussi

Référence

ConnectionSettings Classe

Espace de noms Microsoft.SqlServer.Management.Common