root Element (XMLA)

Contains a result returned by the Discover method or an XML for Analysis (XMLA) command executed using the Execute method.

Syntax

  
<return> <!-- or results-->  
   ...  
   <root xmlns="urn:schemas-microsoft-com:xml-analysis:mddataset">...</root> <!-- for Execute method only -->  
   <!-- or -->  
   <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset">...</root>  
   <!-- or -->  
   <root xmlns= xmlns="urn:schemas-microsoft-com:xml-analysis:empty">...</root>  
   ...  
</return>  

Element characteristics

Characteristic Description
Data type and length See the table below.
Default value None
Cardinality 1-n: Required element that can occur more than once.
Ancestor Data type
DiscoverResponse Rowset, olapxmla_EmptyResult
ExecuteResponse MDDataSet, Rowset, olapxmla_EmptyResult

Element relationships

Relationship Element
Parent elements results, return
Child elements None

Remarks

The root element contains the information returned in either the DiscoverResponse element returned by a single Discover method call, or in the ExecuteResponse element returned by a single XMLA command executed by a single Execute method call.