AdomdErrorResponseException.ErrorCode 属性

Gets the value of the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public ReadOnly Property ErrorCode As Integer 
    Get
用法
Dim instance As AdomdErrorResponseException 
Dim value As Integer 

value = instance.ErrorCode
public int ErrorCode { get; }
public:
property int ErrorCode {
    int get ();
}
member ErrorCode : int
function get ErrorCode () : int

属性值

类型:System.Int32
An unsigned integer representing the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.

注释

The ErrorCode property typically contains the HRESULT of an error raised by the XML for Analysis Services provider or server.

请参阅

参考

AdomdErrorResponseException 类

Microsoft.AnalysisServices.AdomdClient 命名空间