AdomdErrorResponseException.ErrorCode Property
Gets the value of the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
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
Property Value
An unsigned integer representing the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.
Remarks
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdErrorResponseException Class
AdomdErrorResponseException Members
Microsoft.AnalysisServices.AdomdClient Namespace