return Element
TOC
Collapse the table of content
Expand the table of content

return Element (XMLA)

 

Applies To: SQL Server 2016 Preview

Contains information returned by a DiscoverResponse element in response to a Discover method call or an ExecuteResponse element in response to an Execute method call.

  
<DiscoverResponse> <!-- or ExecuteResponse -->  
   <return>  
      <root>...</root>  
      <!-- or -->  
      <results>...</results> <!-- ExecuteResponse only -->  
   </return>  
</DiscoverResponse>  

CharacteristicDescription
Data type and lengthNone
Default valueNone
Cardinality1-1: Required element that occurs once and only once.
RelationshipElement
Parent elementsDiscoverResponse, ExecuteResponse
Child elementsSee the table below.
AncestorChild elements
DiscoverResponseroot
ExecuteResponseroot or results

The return element contains the data returned by the Discover and Execute methods. Typically, the return element contains a single root element that contains either the data returned by a successful Discover or Execute method call or an XML for Analysis (XMLA) exception returned by an unsuccessful method call. If the Execute method contains a Batch command that performs multiple operations, the return element contains a results element which, in turn, contains one root element for each command executed successfully or unsuccessfully by the Batch command.

Properties (XMLA)

Community Additions

ADD
Show:
© 2016 Microsoft