IDashboardControl.ValidateCustomSqlQuery Event
In This Article
Allows you to validate a custom SQL query of the DashboardSqlDataSource.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
#Declaration
event ValidateDashboardCustomSqlQueryEventHandler ValidateCustomSqlQuery
#Event Data
The ValidateCustomSqlQuery event's data class is ValidateDashboardCustomSqlQueryEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Connection |
Gets the name of the connection to the data source containing a custom SQL query. |
Connection |
Gets parameters used to establish a connection to the data source containing a custom SQL query. |
Custom |
Gets the custom SQL query that should be checked. |
Data |
Gets or sets the component name of the data source for which the event was raised. |
Data |
Gets or sets the name of the data source for which the event was raised. |
Exception |
Gets or sets the exception message returned after custom SQL query validation. |
Valid | Gets or sets whether the current custom SQL query is valid. |
See Also