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 命名空間