Compartilhar via


3.1.4.3.2.2.1 return Element

The return element contains the result that is returned by the server. The content of the result that is contained in the return element is dependent upon the command and the properties that were specified in the Execute method call.

   <xsd:complexType name="return">
     <xsd:choice>
       <xsd:element ref="xmla-ds:root" />
       <xsd:element ref="xmla-rs:root" />
       <xsd:element ref="xmla-e:root" />
       <xsd:element ref="xmla-m:results" />
     </xsd:choice>
   </xsd:complexType>

The definition of the xmla-ds:root element is as follows.

   <xsd:element name="root" type="xmla-ds:mddataset" />

For the definition of the xmla-ds:mddataset complex type, see section 2.2.4.1.1.

The definition of the xmla-rs:root element is as follows.

   <xsd:element name="root" type="xmla-rs:rowset" />

For the definition of the xmla-rs:rowset complex type, see section 2.2.4.1.3.

The definition of the xmla-e:root element is as follows.

   <xsd:element name="root" type="xmla-e:emptyresult" />

For the definition of the xmla-e:emptyresult complex type, see section 2.2.4.1.2.

The definition of the xmla-m:results element is as follows.

   <xsd:element name="results" type="xmla-m:results" />

For the definition of the xmla-m:results complex type, see section 2.2.4.1.4.

Element

Description

xmla-m:results

A results element is part of the ExecuteResponse only if it is the return result from a Batch command. The xmla-m:results element contains a root element for each command in the batch.

xmla-ds:root

The xmla-ds:root element is returned if the result of the command is of type mddataset. For a description of the xmla-ds:root type, see section 2.2.4.1.1.

xmla-rs:root

The xmla-rs:root type is returned if the result of the command is of type rowset. For a description of the xmla-rs:root type, see section 2.2.4.1.3.

xmla-e:root

The xmla-e:root element is returned if the return result of the command is empty. For a description of the xmla-e:root return type, see section 2.2.4.1.2.