Udostępnij za pośrednictwem


SqlConnectionInfo.Pooled Property

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

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Deklaracja
Public Property Pooled As SqlBoolean
public SqlBoolean Pooled { get; set; }
public:
property SqlBoolean Pooled {
    SqlBoolean get ();
    void set (SqlBoolean value);
}
/** @property */
public SqlBoolean get_Pooled ()

/** @property */
public void set_Pooled (SqlBoolean value)
public function get Pooled () : SqlBoolean

public function set Pooled (value : SqlBoolean)

Property Value

A SqlBoolean value that specifies whether the connection is pooled. If True, the connection is pooled. If False (default), the connection is not pooled.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.