다음을 통해 공유


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 지원 받기