Freigeben über


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
public int PoolConnectionLifeTime { get; set; }
public:
property int PoolConnectionLifeTime {
    int get ();
    void set (int value);
}
/** @property */
public int get_PoolConnectionLifeTime ()

/** @property */
public void set_PoolConnectionLifeTime (int value)
public function get PoolConnectionLifeTime () : int

public function set PoolConnectionLifeTime (value : int)

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

SqlConnectionInfo Class
SqlConnectionInfo Members
Microsoft.SqlServer.Management.Common Namespace