Exago .NET API Documentation
TestSql Method
WebReports.Api.Data Namespace > SqlObject Class : TestSql Method
The SQL statement that will be executed.
Makes a connection to the Data Source, executes the sqlStmt on it and attempts to retrieve the resulting schema.
Syntax
public override System.string TestSql( 
   System.string sqlStmt
)

Parameters

sqlStmt
The SQL statement that will be executed.

Return Value

null if the test is successful, otherwise an exception is thrown.
Exceptions
ExceptionDescription
A WrUserMessage exception is thrown if any exception is caught during the execution of the method.
See Also

Reference

SqlObject Class
SqlObject Members
Base Implementation in TestSql