Skip to main content
.NET Framework 4.5.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.1.dll

NuGet Package: DevExpress.Xpo

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