Share via


SqlConnectionInfo.PoolConnectionLifeTime プロパティ

プール接続期間を秒単位で取得または設定します。

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

構文

'宣言
Public Property PoolConnectionLifeTime As Integer 
    Get 
    Set
'使用
Dim instance As SqlConnectionInfo 
Dim value As Integer 

value = instance.PoolConnectionLifeTime

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

プロパティ値

型: System.Int32
プール接続期間を秒単位で示す Int32 値です。

関連項目

参照

SqlConnectionInfo クラス

Microsoft.SqlServer.Management.Common 名前空間