Condividi tramite


AdomdErrorResponseException.ErrorCode Property

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
public int ErrorCode { get; }
public:
property int ErrorCode {
    int get ();
}
/** @property */
public int get_ErrorCode ()
public function get ErrorCode () : int

Valore proprietà

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdErrorResponseException Class
AdomdErrorResponseException Members
Microsoft.AnalysisServices.AdomdClient Namespace