Skip to main content

CustomStringConnectionParameters.ConnectionString Property

Gets or sets a connection string.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

public string ConnectionString { get; set; }

Property Value

Type Description
String

A String that contains connection parameters.

Remarks

Use the ConnectionString property in the following cases:

  • To pass additional parameters which are not exposed by the appropriate DataConnectionParametersBase descendant.
  • To specify a connection string to a cube in an MS Analysis Services database.

To learn how to build connection strings for different data providers, see the following help topic: How To Create a Correct Connection String.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ConnectionString property.

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