Compartir a través de


AdomdErrorResponseException.ErrorCode Propiedad

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Property ErrorCode As Integer 
    Get
'Uso
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

Valor de la propiedad

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

Comentarios

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

Vea también

Referencia

AdomdErrorResponseException Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdClient