InUse 属性
Gets or sets the Boolean property value that specifies whether the connection is being used.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Property InUse As Boolean
Get
Set
用法
Dim instance As ConnectionManager
Dim value As Boolean
value = instance.InUse
instance.InUse = value
public bool InUse { get; set; }
public:
property bool InUse {
bool get ();
void set (bool value);
}
member InUse : bool with get, set
function get InUse () : boolean
function set InUse (value : boolean)
属性值
类型:System. . :: . .Boolean
A Boolean object value that specifies whether the connection is in use.
If True, the connection is in use.
In False (default), the connection is not in use.