Поделиться через


Свойство 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