DataConnection(String, DataConnectionParametersBase) Constructor

Initializes a new instance of the DataConnection class.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.Dashboard.v18.1.Core.dll

Syntax

public DataConnection(
    string name,
    DataConnectionParametersBase connectionParameters
)

Parameters

Type Name Description
String name

A String that specifies the name of data connection.

DataConnectionParametersBase connectionParameters

A DataConnectionParametersBase descendant that represents connection parameters used to establish a connection to data.