مشاركة عبر


SqlConnectionInfo.PoolConnectionLifeTime Property

Gets or sets the pool connection period in seconds.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Property PoolConnectionLifeTime As Integer 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Int32
A Int32 value that specifies the pool connection period in seconds.

See Also

Reference

SqlConnectionInfo Class

Microsoft.SqlServer.Management.Common Namespace