ConnectionManager.IsOpen Property

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public bool IsOpen { get; }

Property Value

Type: 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.

Community Additions

ADD
Show: