SqlConnectionInfo.Pooled 屬性
取得或設定指定連接是否共用的 SqlBoolean 屬性值。
命名空間: 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)
屬性值
型別:SqlBoolean
指定連接是否已共用的 SqlBoolean 值。如果為 True,連接已共用。如果為 False (預設值),則連接未共用。