Partager via


Propriété PooledConnectionLifetime

Gets or sets the lifetime of the pooled connection.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Property PooledConnectionLifetime As Integer
    Get
    Set
'Utilisation
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)

Valeur de propriété

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