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 值,该值以秒为单位指定池连接期间。