Share via


AdomdError.ErrorCode Property

Gets the error code of the AdomdError.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorCode As Integer
    Get
'Usage
Dim instance As AdomdError
Dim value As Integer

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

Property Value

Type: System.Int32
An Int that contains the error code of the AdomdError.

Remarks

The ErrorCode property represents the numeric error code contained in an XML for Analysis error.