共用方式為


ErrorCode 屬性

Gets the error code of the AdomdError.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property ErrorCode As Integer
    Get
'用途
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

屬性值

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

備註

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