XMLQueryExecutionOptions Structure

Use the XMLQueryExecutionOptions structure to specify optional parameters during a query.

The XMLQueryExecutionOptions structure is used in the XMLViewService Service (in the executeXMLQuery method).

XMLQueryExecutionOptions Structure Fields

Fields Description

boolean async

If set to TRUE, then asynchronous query execution is enabled. If set to FALSE, then asynchronous query execution is disabled.

int maxRowsPerPage

Specifies the maximum number of rows to be returned by a executeXMLQuery or fetchNext method.

boolean refresh

If set to TRUE, then the server re-submits the query to refresh the data. If set to FALSE, then the server uses data in the cache.

boolean presentationInfo

If set to TRUE, then store localized presentation information in the metadata section of the record set XML.

Presentation information consists of the following:

  • Column heading information (stored in the columnHeading field).

  • Table heading information (stored in the tableHeading field).

String type

Specifies the query ID, which can be used in logs to diagnose errors.