SqlConnectionInfo.PoolConnectionLifeTime Property

Gets or sets the pool connection period in seconds.

Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Синтаксис

'Декларация
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)

Значение свойства

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

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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