Skip to main content

SqlDataConnection(SqlDataSource, String, DataConnectionParametersBase) Constructor

Initializes a new instance of the SqlDataConnection class with the specified settings.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public SqlDataConnection(
    SqlDataSource sqlDataSource,
    string name,
    DataConnectionParametersBase connectionParameters
)

Parameters

Name Type Description
sqlDataSource SqlDataSource

An SqlDataSource object.

name String

A String value, specifying the connection name.

connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase descendant.

See Also