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.