results Element (XMLA)

APPLIES TO:yesSQL Server Analysis ServicesyesAzure Analysis Services

Contains a collection of root elements returned by the Execute method using the Batch command.




Element characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality 0-1: Optional element that can occur once and only once.

Element relationships

Relationship Element
Parent elements return
Child elements root


If a Batch command is executed by the Execute method, the return element contains a single results element instead of a single root element. The content of the results element depends on the settings used to run the Batch command.

For non-transactional Batch commands, the results element contains one root element for each command executed by the Batch command, whether the command completes successfully or unsuccessfully. For transactional Batch commands, the results element contains only one root element, which contains the error information for the command that failed within the Batch command.

See also

Properties (XMLA)