SQLiteConnection - State

 

Description

Gets the current state of the connection.

Returns one of the System.Data.ConnectionState values.

 

System.Data.ConnectionState values

Broken

 

The connection to the data source is broken.

This can occur only after the connection has been opened. A connection in this state may be closed and then re-opened.

Closed

 

The connection is closed.

Connecting

 

The connection object is connecting to the data source.

Executing

 

The connection object is executing a command.

Fetching

 

The connection object is retrieving data.

Open

 

The connection is open.