Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
return Element
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>

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Relationship

Element

Parent elements

DiscoverResponse, ExecuteResponse

Child elements

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.

Community Additions

ADD
Show:
© 2015 Microsoft