Npgsql Api Docs

NpgsqlConnection.ConnectionString Property

Gets or sets the string used to connect to a PostgreSQL database. Valid values are:

[VisualBasic]
OverridesPublicPropertyConnectionStringAsString_
ImplementsIDbConnection.ConnectionString
[C#]
publicoverridestringConnectionString{get;set;}

Property Value

The connection string that includes the server name, the database name, and other parameters needed to establish the initial connection. The default value is an empty string.

Implements

IDbConnection.ConnectionString

See Also

NpgsqlConnection Class | Npgsql Namespace