Messages Element (XMLA)

Contains a collection of Message elements returned from an instance of Analysis Services by a Discover or Execute method call.

Syntax

  
<Resultset>  
   <Messages>  
      <Message>  
   </Messages>  
</Resultset>  

Element characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality 0-1: Optional element that can occur once and only once.

Element relationships

Relationship Element
Parent elements Resultset
Child elements Message

Remarks

This element is used in cases where a Discover method call or a single XMLA command within an Execute method call completes successfully, but with errors or warnings. In such cases, a Messages element is added to the root element after all other elements, which in turn contains one or more Message elements. Each Message element represents a single message, either an error or a warning, returned by the Analysis Services instance.