共用方式為


ComErrorException.ComHResult 屬性

Gets 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
The error code (HRESULT).

請參閱

參考

ComErrorException 類別

Microsoft.SqlServer.Replication 命名空間