An NDoc Documented Class Library

HostIntegratorSession.ExecuteSQLStatement Method (String)

Executes an SQL statement on a table defined in the model.

public virtual DataSet ExecuteSQLStatement(
   string sqlStatement
);

Parameters

sqlStatement
Specifies the SQL statement to execute.

Return Value

This method returns a DataSet containing the results of the query. If no data are returned, this method returns an empty DataSet.

Remarks

Executes an SQL statement on a table defined in the model.

Exceptions

Exception TypeCondition
HostIntegratorModelDefExceptionThrown if the SQL statement cannot be resolved
HostIntegratorTerminalExceptionThrown if there is an execution error
HostIntegratorConnectorExceptionThrown when client is not connected
HostIntegratorExceptionThrown if the connection is for metadata only

See Also

HostIntegratorSession Class | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.ExecuteSQLStatement Overload List