DB2ConnectionParameters(String, String, String, String) Constructor

Initializes a new instance of the DB2ConnectionParameters class.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v21.1.dll

Declaration

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

Parameters

Name Type Description
serverName String

A String that specifies the name of the DB2 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 DB2 server. This value is assigned to the SqlServerConnectionParametersBase.UserName property.

password String

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

See Also