Back to Devexpress

IDashboardControl.AsyncValidateCustomSqlQuery Event

dashboard-devexpress-dot-dashboardwin-dot-idashboardcontrol-60228594.md

latest2.7 KB
Original Source

IDashboardControl.AsyncValidateCustomSqlQuery Event

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

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
event ValidateDashboardCustomSqlQueryEventHandler AsyncValidateCustomSqlQuery
vb
Event AsyncValidateCustomSqlQuery As ValidateDashboardCustomSqlQueryEventHandler

Event Data

The AsyncValidateCustomSqlQuery 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