AdvantageConnectionParameters(String, String, String, AdvantageServerType) Constructor
Initializes a new instance of the AdvantageConnectionParameters class.
Namespace: DevExpress.DataAccess.ConnectionParameters
Assembly: DevExpress.DataAccess.v19.1.dll
Declaration
public AdvantageConnectionParameters(
string fileName,
string userName,
string password,
AdvantageServerType serverType
)
Parameters
Name | Type | Description |
---|---|---|
fileName | String | A String that specifies the path to the Advantage database file. This value is assigned to the FileConnectionParametersBase.FileName property. |
userName | String | A String that specifies the user name used for authentication. This value is assigned to the AdvantageConnectionParameters.UserName property. |
password | String | A String that specifies the password used for authentication. This value is assigned to the FileConnectionParametersBase.Password property. |
serverType | AdvantageServerType | A AdvantageServerType enumeration value that specifies the type of the Advantage server. This value is assigned to the AdvantageConnectionParameters.ServerType property. |