Compartir a través de


PooledConnectionLifetime Propiedad

Gets or sets the lifetime of the pooled connection.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Property PooledConnectionLifetime As Integer
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: System. . :: . .Int32
An Int32 value that specifies the lifetime of the pooled connection in seconds.