다음을 통해 공유


MaxPoolSize 속성

Gets or sets the maximum number of execution threads in a thread pool that the connection will accept.

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

구문

‘선언
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)

속성 값

형식: System. . :: . .Int32
A Int32 value that specifies the maximum number of threads in a thread pool the connection will accept.

주의

The default value for this property is 100. This is adequate for most purposes. Modifying the maximum number of threads can improve performance in resource-intensive systems.