共用方式為


HR 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public ReadOnly Property HR As Integer
    Get
'用途
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

屬性值

型別:System. . :: . .Int32
The HRESULT value.

備註

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.