Skip to main content
All docs
V24.1

HanaConnectionParameters(String, Int32, String, String, String) Constructor

Initializes a new instance of the HanaConnectionParameters class with specified settings.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public HanaConnectionParameters(
    string serverName,
    int port,
    string userName,
    string password,
    string databaseName
)

Parameters

Name Type Description
serverName String

The user name used to authenticate to the SAP HANA database server.

port Int32

The port number

userName String

The user name used to authenticate to the SAP HANA database server.

password String

The password used to authenticate to the SAP HANA database server.

databaseName String

The name of the database that contains data.

See Also