ConnectionManager.IsOpen 属性

Gets the Boolean property value that specifies whether the connection is currently open.

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Public ReadOnly Property IsOpen As Boolean 
    Get
用法
Dim instance As ConnectionManager 
Dim value As Boolean 

value = instance.IsOpen
public bool IsOpen { get; }
public:
virtual property bool IsOpen {
    bool get () sealed;
}
abstract IsOpen : bool 
override IsOpen : bool
final function get IsOpen () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether the connection is open.If True, the connection is open.If False (default), the connection is not open.

请参阅

参考

ConnectionManager 类

Microsoft.SqlServer.Management.Common 命名空间