Поделиться через


Свойство MinPoolSize

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Property MinPoolSize As Integer
    Get
    Set
'Применение
Dim instance As SqlConnectionInfo
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
A Int32 value that specifies the minimum number of threads in a thread pool the connection will accept.

Замечания

The minimum pool size cannot be less than 2.