SqlConnectionStringBuilder.MaxPoolSize 屬性

定義

取得或設定連接集區中,針對這個特定的連接字串允許的最大連接數目。

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

屬性值

MaxPoolSize 屬性的值,如果未提供任何值,則為 100。

備註

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

適用於

另請參閱