Skip to main content
All docs
V24.1

ASPxDashboard.SetDBCommandInterceptor(IDBCommandInterceptor) Method

Registers IDBCommandInterceptor in ASPxDashboard.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

Declaration

public void SetDBCommandInterceptor(
    IDBCommandInterceptor dbCommandInterceptor
)

Parameters

Name Type Description
dbCommandInterceptor IDBCommandInterceptor

An IDBCommandInterceptor object.

Remarks

Dashboard controls execute a variety of SQL statements against the database. Implement IDBCommandInterceptor to intercept these data source commands. You can suppress a command or modify the execution algorithm.

See Also