Skip to main content

PostgreSqlConnectionParameters(String, String, String, String) Constructor

Initializes a new instance of the PostgreSqlConnectionParameters class.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public PostgreSqlConnectionParameters(
    string serverName,
    string databaseName,
    string userName,
    string password
)

Parameters

Name Type Description
serverName String

A String that specifies the name of the PostgreSQL server to which the connection should be established. This value is assigned to the SqlServerConnectionParametersBase.ServerName property.

databaseName String

A String that specifies the name of the database that contains the required data. This value is assigned to the SqlServerConnectionParametersBase.DatabaseName property.

userName String

A String that specifies the user name used to authenticate to the PostgreSQL server. This value is assigned to the SqlServerConnectionParametersBase.UserName property.

password String

A String that specifies the password used to authenticate to the PostgreSQL server. This value is assigned to the SqlServerConnectionParametersBase.Password property.

See Also