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. | 
Applies To
SQLReplError Object (Replication ActiveX)
备注
The error number is the value assigned by the error source.
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT ErrorNumber(long pVal);
HRESULT ErrorNumber(long* pVal);
请参阅
参考
Description Property (Replication ActiveX)
ErrorNumberString Property (Replication ActiveX)
Source Property (Replication ActiveX)
SourceType Property (Replication ActiveX)