MaxPoolSize 属性
Gets or sets the maximum 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 MaxPoolSize As Integer
Get
Set
用法
Dim instance As ConnectionSettings
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
An Int32 value that specifies the maximum number of connections in a connection pool.