Npgsql Api Docs |

# NpgsqlConnection.State Property

Gets the current state of the connection.

[Visual Basic]
Overrides Public ReadOnly Property State As ConnectionState _
Implements IDbConnection.State
[C#]
public override System.Data.ConnectionState State {get;}

#### Property Value

A bitwise combination of the ConnectionState values. The default is Closed.

#### Implements

IDbConnection.State

#### See Also

NpgsqlConnection Class | Npgsql Namespace