Back to Devexpress

AccessConnectionProvider.GetConnectionStringACE(String, String) Method

xpo-devexpress-dot-xpo-dot-db-dot-accessconnectionprovider-dot-getconnectionstringace-x28-system-dot-string-system-dot-string-x29.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public static string GetConnectionStringACE(
    string database,
    string password
)
vb
Public Shared Function GetConnectionStringACE(
    database As String,
    password As String
) As String

Parameters

NameTypeDescription
databaseString

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

TypeDescription
String

A connection string.

|

Remarks

For more information, see AccessConnectionProvider.GetConnectionString.

See Also

GetConnectionString

AccessConnectionProvider Class

AccessConnectionProvider Members

DevExpress.Xpo.DB Namespace