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(默认值),则连接将不入池。