Skip to main content
A newer version of this page is available. .

PostgreSqlConnectionParameters(String, String, String, String) Constructor

Initializes a new instance of the PostgreSqlConnectionParameters class.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v18.2.dll

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