次の方法で共有


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 名前空間