The ErrorNumber property returns the numeric code that identifies the error.
object.ErrorNumber [= pVal]
Part | Description |
---|---|
object | Expression that evaluates to a SQLReplError object. |
pVal | Error number. |
The error number is the value assigned by the error source.
Long
Read/write
HRESULT ErrorNumber(long pVal);
HRESULT ErrorNumber(long* pVal);