Partilhar via


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

'Declaration
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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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 2005.

Target Platforms

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

See Also

Reference

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