Поделиться через


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