return Element (XMLA)
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
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.