State Property

The current state of the connection.

Syntax

ConnectionState State

Access

Read-only

Default

Closed.

Implements

IDbConnection.State
Related concepts
Check the Connection State