Dela via


Message Element (XMLA)

Contains a message returned from an instance of Microsoft SQL Server Analysis Services by a Discover or Execute method call.

Syntax

<Messages>
   ...
   <Message>
      <Error>...</Error>
      <!-- or -->
      <Warning>...</Warning>
   </Message>
   ...
</Messages>

Element Characteristics

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship

Element

Parent elements

Messages

Child elements

Error, Warning

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.

See Also

Concepts