results Element (XMLA)


Applies To: SQL Server 2016 Preview

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



Data type and lengthNone
Default valueNone
Cardinality0-1: Optional element that can occur once and only once.
Parent elementsreturn
Child elementsroot

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.

Properties (XMLA)

Community Additions