Compartilhar via


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

Ancestor

Data type

DiscoverResponseRowset, olapxmla_EmptyResult

ExecuteResponseMDDataSet, Rowset, olapxmla_EmptyResult

Default value

None

Cardinality

1-n: Required element that can occur more than once.

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.

See Also

Concepts

Properties (XMLA)

Help and Information

Getting SQL Server 2005 Assistance