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 命名空间