State property

Description

The current state of the connection.

Syntax

ConnectionState State

Access

Read-only

Default

Closed.

Implements

IDbConnection.State

See also

“Checking the connection state”.