<PackageReference Include="System.Data.Common" Version="1.0.0-beta2" />

ConnectionState

public enum ConnectionState
Describes the current state of the connection to a data source.
Closed = 0

The connection is closed.

The connection object is connecting to the data source.

Open = 1

The connection is open.