Language

SqlConnectionStringBuilder.MaxPoolSize プロパティ

定義

この特定の接続文字列に対して接続プールで許可される接続の最大数を取得または設定します。

新しい開発では、Microsoftを使用します。Data.SqlClient。 このページでは、System.Data.SqlClient について説明します。

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。

注釈

このプロパティは、接続文字列内の "最大プール サイズ" キーに対応します。

適用対象

関連項目