Skip to content

ConnectionState Enum ​

JASE.Database wrapper for System.Data.ConnectionState

Namespace: JASE.Database
Assembly: JASE.Database.dll

Underlying Type int

Fields ​

NameValueDescription
Undefined-1No connection exist to provide state.
Closed0The connection is closed.
Open1The connection is open.
Connecting2The connection object is connecting to the data source. (This value is reserved for future versions of the product.)
Executing4The connection object is executing a command. (This value is reserved for future versions of the product.)
Fetching8The connection object is retrieving data. (This value is reserved for future versions of the product.)
Broken16The 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. (This value is reserved for future versions of the product.)