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)
屬性值
型別:Int32
指定集區連接期間 (以秒為單位) 的 Int32 值。