Npgsql API Documentation |

# NpgsqlConnection Constructor (String)

[This is preliminary documentation and subject to change.]

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