Condividi tramite


Proprietà ConnectionSettings.PooledConnectionLifetime

Gets or sets the lifetime of the pooled connection.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Property PooledConnectionLifetime As Integer 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Vedere anche

Riferimento

ConnectionSettings Classe

Spazio dei nomi Microsoft.SqlServer.Management.Common