Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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 -->
      <!-- or -->
      <results>...</results> <!-- ExecuteResponse only -->



Data type and length


Default value



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



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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft