Skip to main content
All docs
V24.1

DashboardViewer.CustomDBConnectionInterceptor Property

Specifies the IDBConnectionInterceptor object for the Dashboard Viewer control.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

[Browsable(false)]
[DefaultValue(null)]
public IDBConnectionInterceptor CustomDBConnectionInterceptor { get; set; }

Property Value

Type Default Description
IDBConnectionInterceptor null

A IDBConnectionInterceptor object.

Remarks

Implement IDBConnectionInterceptor to intercept, modify, and/or suppress SQL operations. The list includes low-level database operations such as executing a command or setting a key-value pair in a session context. Once the connection is open, you can store values in the session context and execute any request.

Assign an object that implements the IDBConnectionInterceptor interface to CustomDBConnectionInterceptor to register the interceptor in the Dashboard control.

See Also