Sdílet prostřednictvím


ComErrorException.ComHResult Property

Gets the error code (HRESULT) value associated with this exception.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public ReadOnly Property ComHResult As Integer 
    Get
'Usage
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

Property Value

Type: System.Int32
The error code (HRESULT).

See Also

Reference

ComErrorException Class

Microsoft.SqlServer.Replication Namespace