共用方式為


ComHResult 屬性

The error code (HRESULT) value associated with this exception.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public ReadOnly Property ComHResult As Integer
    Get
'用途
Dim instance As ComErrorException
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An Int32 value.