Skip to main content

IDataConnection.CreateConnectionString(Boolean) Method

Creates a connection string for the current data connection.

Namespace: DevExpress.DataAccess.Wizard.Model

Assembly: DevExpress.DataAccess.v23.2.dll

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

Declaration

string CreateConnectionString(
    bool blackoutCredentials
)

Parameters

Name Type Description
blackoutCredentials Boolean

true, to remove user credentials from the connection string; otherwise, false.

Returns

Type Description
String

A String that is the connection string for the current IDataConnection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateConnectionString(Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also