共用方式為


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.