다음을 통해 공유


ConnectionSettings.PooledConnectionLifetime 속성

Gets or sets the lifetime of the pooled connection.

네임스페이스:  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
An Int32 value that specifies the lifetime of the pooled connection in seconds.

참고 항목

참조

ConnectionSettings 클래스

Microsoft.SqlServer.Management.Common 네임스페이스