Skip to main content
A newer version of this page is available. .

DashboardConfigureDataConnectionEventArgs Class

Provides data for ConfigureDataConnection events.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v20.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

public class DashboardConfigureDataConnectionEventArgs :
    ConfigureDataConnectionEventArgs

Remarks

ConfigureDataConnection events are raised before the connection to a database is established and allow you to customize connection settings.

These events are raised when the dashboard is supplied with data using the DashboardSqlDataSource and DashboardOlapDataSource data sources (see Connecting to SQL Databases and Connecting to OLAP Cubes).

Use the DashboardConfigureDataConnectionEventArgs.DataSourceName property to obtain the data source name for which the event was raised. Then, specify the required connection parameters using the ConfigureDataConnectionEventArgs.ConnectionParameters property.

Note

If the dashboard is supplied with data using the DashboardObjectDataSource data source, DataLoading events are fired instead.

Inheritance

See Also