다음을 통해 공유


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 네임스페이스