CustomStringConnectionParameters Class

Contains a connection string.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v21.2.dll

Declaration

public class CustomStringConnectionParameters :
    DataConnectionParametersBase,
    IConnectionPage

Remarks

The CustomStringConnectionParameters class instances provide a connection string (CustomStringConnectionParameters.ConnectionString) that allows you to establish a connection to any supported database server or file type with custom parameters. Typically, you will need to do this in order to pass additional parameters that are not exposed by the appropriate DataConnectionParametersBase descendant.

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

To learn more about the use of classes that provide data connection parameters, see DataConnectionParametersBase.

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

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