Gets the current connection state.
The current connection state, represented by an instance of the System.Data.ConnectionState enum.
Gets the current connection state on the System.Data.SqlClient.SqlConnection instance. This value indicates whether the connection is open or closed.
Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0