Error Element (XMLA)

Contains information about an error returned by an instance of Microsoft SQL Server Analysis Services.

语法

<Message>
   <Error 
      ErrorCode="unsignedint" 
      Severity="string" 
      Description="string"
      Source="string"
      HelpFile="string"
   />
</Message>
<!-- or -->
<Cell><!-- or row -->
   <!-- A child element -->
      <Error xmlns="urn:schemas-microsoft-com:xml-analysis:exception"
         < ErrorCode>...</ErrorCode>
         < Description>...</Description>
         < Source>...</Source>
         < HelpFile>...</HelpFile>
      </Error>
   <!-- /A child element -- >
</Cell>

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

Message

Child elements

Ancestor

Child elements

MessageNone

Cell, rowDescription, ErrorCode, HelpFile, Source

Attributes

Attribute Description

ErrorCode

Required UnsignedInt attribute (only when Message is the parent element.) Contains the numeric return code of the error.

Severity

Optional String attribute (only when Message is the parent element.) Contains the severity of the error.

Description

Optional String attribute (only when Message is the parent element.) Contains the descriptive text of the error.

Source

Optional String attribute (only when Message is the parent element.) Contains the name of the component that generated the error.

HelpFile

Optional String attribute (only when Message is the parent element.) Contains the path or URL to the Help file or topic that describes the error.

备注

请参阅

参考

Warning Element (XMLA)

概念

Properties (XMLA)

帮助和信息

获取 SQL Server 2005 帮助