Proprietà AdomdErrorResponseException.ErrorCode

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property ErrorCode As Integer 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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

Vedere anche

Riferimento

AdomdErrorResponseException Classe

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient