SqlConnectionStringBuilder.MinPoolSize 属性

定义

获取或设置此特定连接字符串的连接池中允许的最小连接数。

public:
 property int MinPoolSize { int get(); void set(int value); };
public int MinPoolSize { get; set; }
member this.MinPoolSize : int with get, set
Public Property MinPoolSize As Integer

属性值

属性的值 MinPoolSize ,如果未提供,则为 0。

注解

此属性对应于连接字符串中的“最小池大小”键。

适用于

另请参阅