Share via


PooledConnectionLifetime プロパティ

プールされた接続の有効期間を取得または設定します。

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

構文

'宣言
Public Property PooledConnectionLifetime As Integer
    Get
    Set
'使用
Dim instance As ConnectionSettings
Dim value As Integer

value = instance.PooledConnectionLifetime

instance.PooledConnectionLifetime = value
public int PooledConnectionLifetime { get; set; }
public:
property int PooledConnectionLifetime {
    int get ();
    void set (int value);
}
member PooledConnectionLifetime : int with get, set
function get PooledConnectionLifetime () : int
function set PooledConnectionLifetime (value : int)

プロパティ値

型: System. . :: . .Int32
プールされた接続の有効期間 (秒数) を示す Int32 値です。