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

屬性值

Int32

MinPoolSize 屬性的值,如果未提供任何值,則為 0。

備註

此屬性會對應至連接字串內的 "Min Pool Size" 索引鍵。

適用於

另請參閱