Compartilhar via


Propriedade do RDL MinPoolSize

Gets or sets the minimum number of connections in a connection pool that the specified connection accepts when establishing a connection with a server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Property MinPoolSize As Integer
    Get
    Set
'Uso
Dim instance As ConnectionSettings
Dim value As Integer

value = instance.MinPoolSize

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

Valor da propriedade

Tipo: System. . :: . .Int32
An Int32 value that specifies the minimum number of connections in a connection pool.

Comentários

Note The minimum number of connections in a connection pool cannot be less than two.