AdomdError Class

Represents a server or provider-specific error.

命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class AdomdError
[SerializableAttribute] 
public sealed class AdomdError
[SerializableAttribute] 
public ref class AdomdError sealed
/** @attribute SerializableAttribute() */ 
public final class AdomdError
SerializableAttribute 
public final class AdomdError

備註

The AdomdError represents an XML for Analysis error received or raised by the provider during the execution of a statement or query. The properties of the AdomdError map directly to the subelements of the Error element in the XML for Analysis 1.1 specification, as described in the following table.

AdomdError property name

XML for Analysis error subelement name

ErrorCode

ErrorCode

HelpLink

HelpFile

Message

Description

Source

Source

Location

Location

The AdomdError objects themselves are not directly raised in ADOMD.NET. Instead, they are contained within the Errors property of an AdomdErrorResponseException.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.AdomdError

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdError Members
Microsoft.AnalysisServices.AdomdClient Namespace