Npgsql Api Docs |

# NpgsqlConnection Constructor (String)

Initializes a new instance of the NpgsqlConnection class and sets the ConnectionString.

[Visual Basic]
Overloads Public Sub New( _
ByVal ConnectionString As String _
)
[C#]
public NpgsqlConnection(
string ConnectionString
);

#### Parameters

ConnectionString
  The connection used to open the PostgreSQL database.

#### See Also

NpgsqlConnection Class | Npgsql Namespace | NpgsqlConnection Constructor Overload List