SqlConnectionInfo.MaxPoolSize プロパティ

スレッド プールで接続が許容する実行スレッドの最大数を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Common
アセンブリ:  Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)

構文

'宣言
Public Property MaxPoolSize As Integer 
    Get 
    Set
'使用
Dim instance As SqlConnectionInfo 
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
スレッド プールで接続が許容するスレッドの最大数を示す Int32 値です。

説明

このプロパティの既定値は 100 です。 この値はほとんどの目的に適しています。 リソース消費量の多いシステムでは、スレッドの最大数を変更すると、パフォーマンスを向上させることができます。

関連項目

参照

SqlConnectionInfo クラス

Microsoft.SqlServer.Management.Common 名前空間