Message Element (XMLA)

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

语法

<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

备注

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.

请参阅

概念

Properties (XMLA)

帮助和信息

获取 SQL Server 2005 帮助