Share via


AdomdException.HR Property

Gets the HRESULT, a coded numerical value that is assigned to a specific exception.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Property HR As Integer
    Get
'Usage
Dim instance As AdomdException
Dim value As Integer

value = instance.HR
public int HR { get; }
public:
property int HR {
    int get ();
}
member HR : int
function get HR () : int

Property Value

Type: System.Int32
The HRESULT value.

Remarks

HRESULT is a 32-bit value, divided into three different fields: a severity code, a facility code, and an error code. The severity code indicates whether the return value represents information, warning, or error. The facility code identifies the area of the system responsible for the error. The error code is a unique number that is assigned to represent the exception.