Skip to main content
.NET Framework 4.6.2+

AccessConnectionProvider.GetConnectionStringACE(String, String) Method

Returns a connection string to the specified Microsoft Access 2007 database using the default credentials.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public static string GetConnectionStringACE(
    string database,
    string password
)

Parameters

Name Type Description
database String

A string that specifies the path and name of the data base to connect to.

password String

A string that specifies the password. This is used to initialize the “Password” field of the connection string.

Returns

Type Description
String

A connection string.

Remarks

For more information, see AccessConnectionProvider.GetConnectionString.

See Also