Share via


SqlConnectionInfo.MaxPoolSize 속성

연결에 허용될 스레드 풀 내의 최대 실행 스레드 수를 가져오거나 설정합니다.

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

구문

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

속성 값

유형: Int32
연결에 허용될 스레드 풀 내의 최대 스레드 수를 지정하는 Int32 값입니다.

주의

이속성의 기본값은 100. 이것은 대부분의 목적에 적합입니다. 최대 스레드 수를 수정 리소스 사용량이 많은 시스템에서 성능을 향상 시킬 수 있습니다.

참고 항목

참조

SqlConnectionInfo 클래스

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