다음을 통해 공유


ConnectionSettings.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.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Public Property MinPoolSize As Integer 
    Get 
    Set
‘사용 방법
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)

속성 값

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

주의

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

참고 항목

참조

ConnectionSettings 클래스

Microsoft.SqlServer.Management.Common 네임스페이스