Freigeben über


Pooled-Eigenschaft

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
    Get
    Set
'Usage
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)

Eigenschaftswert

Typ: 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.