Share via


ErrorNumber Property (Replication ActiveX)

The ErrorNumber property returns the numeric code that identifies the error.

Syntax

object.ErrorNumber [= pVal]
Part Description

object

Expression that evaluates to a SQLReplError object.

pVal

Error number.

Applies To

SQLReplError Object (Replication ActiveX)

Remarks

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);

See Also

Reference

Description Property (Replication ActiveX)
ErrorNumberString Property (Replication ActiveX)
Source Property (Replication ActiveX)
SourceType Property (Replication ActiveX)

Help and Information

Getting SQL Server 2005 Assistance