Skip to content

Latest commit

 

History

History
76 lines (64 loc) · 3.23 KB

File metadata and controls

76 lines (64 loc) · 3.23 KB
title root Element (XMLA) | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
analysis-services
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
apiname
Root Element
apilocation
apitype Schema
applies_to
SQL Server 2016 Preview
f1_keywords
urn:schemas-microsoft-com:xml-analysis#root
microsoft.xml.analysis.root
helpviewer_keywords
root element
ms.assetid ecd9d6e8-b16c-4d62-9a87-107c413a0056
caps.latest.revision 15
author jeannt
ms.author jeannt
manager erikre

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.

See Also

Properties (XMLA)