Поделиться через


Свойство Pooled

Gets or sets the SqlBoolean property value that specifies whether the connection is pooled.

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

Синтаксис

'Декларация
Public Property Pooled As SqlBoolean
    Get
    Set
'Применение
Dim instance As SqlConnectionInfo
Dim value As SqlBoolean

value = instance.Pooled

instance.Pooled = value
public SqlBoolean Pooled { get; set; }
public:
property SqlBoolean Pooled {
    SqlBoolean get ();
    void set (SqlBoolean value);
}
member Pooled : SqlBoolean with get, set
function get Pooled () : SqlBoolean
function set Pooled (value : SqlBoolean)

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

Тип System.Data.SqlTypes. . :: . .SqlBoolean
A SqlBoolean value that specifies whether the connection is pooled.
If True, the connection is pooled.
If False (default), the connection is not pooled.