Skip to main content

SqlDataConnection.ConnectionParameters Property

Provides access to the data connection parameters of the SqlDataConnection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

[TypeConverter(typeof(ExpandableObjectConverter))]
public DataConnectionParametersBase ConnectionParameters { get; }

Property Value

Type Description
DataConnectionParametersBase

A DataConnectionParametersBase descendant, specifying the data connection parameters of the appropriate data provider.

Remarks

The ConnectionParameters property value is taken into account only until the DataConnectionBase.ConnectionString property is assigned a value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConnectionParameters 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