MESCIUS.ActiveReports.QueryDesigner Assembly / GrapeCity.ActiveReports.QueryDesigner.Implementation Namespace / IQueryDesignerHost Interface / ValidateQuery Method
The SQL query to validate.
An array of GrapeCity.ActiveReports.QueryDesigner.Implementation.Data.IDataParameter objects representing the query parameters.

In This Topic
ValidateQuery Method
In This Topic
Validates the specified query with the given parameters.
Syntax
'Declaration
 
Function ValidateQuery( _
   ByVal query As String, _
   ByVal parameters() As IDataParameter _
) As String
 

Parameters

query
The SQL query to validate.
parameters
An array of GrapeCity.ActiveReports.QueryDesigner.Implementation.Data.IDataParameter objects representing the query parameters.

Return Value

A System.String containing the validation message. An empty string indicates that the query is valid.
See Also