Back to Devexpress

IDashboardControl.ValidateCustomSqlQuery Event

dashboard-devexpress-dot-dashboardwin-dot-idashboardcontrol-1be9650d.md

latest2.7 KB
Original Source

IDashboardControl.ValidateCustomSqlQuery Event

Allows you to validate a custom SQL query of the DashboardSqlDataSource.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
event ValidateDashboardCustomSqlQueryEventHandler ValidateCustomSqlQuery
vb
Event ValidateCustomSqlQuery As ValidateDashboardCustomSqlQueryEventHandler

Event Data

The ValidateCustomSqlQuery event's data class is ValidateDashboardCustomSqlQueryEventArgs. The following properties provide information specific to this event:

PropertyDescription
ConnectionNameGets the name of the connection to the data source containing a custom SQL query.
ConnectionParametersGets parameters used to establish a connection to the data source containing a custom SQL query.
CustomSqlQueryGets the custom SQL query that should be checked.
DataSourceComponentNameGets or sets the component name of the data source for which the event was raised.
DataSourceNameGets or sets the name of the data source for which the event was raised.
ExceptionMessageGets or sets the exception message returned after custom SQL query validation.
ValidGets or sets whether the current custom SQL query is valid.

See Also

IDashboardControl Interface

IDashboardControl Members

DevExpress.DashboardWin Namespace