Partager via


AdomdErrorResponseException.ErrorCode Property

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

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

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

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdErrorResponseException Class
AdomdErrorResponseException Members
Microsoft.AnalysisServices.AdomdClient Namespace