Partager via


Propriété HR

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public ReadOnly Property HR As Integer
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Int32
The HRESULT value.

Notes

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.