Partager via


Message Element (XMLA)

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

Syntaxe

<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

Notes

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.

Voir aussi

Concepts

Properties (XMLA)

Aide et Informations

Assistance sur SQL Server 2005