ErrorNumber Property

Replication Programming

Replication Programming

ErrorNumber Property

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

Applies To

SQLReplError Object

Syntax

object.ErrorNumber [= pVal]

Part Description
object Expression that evaluates to a SQLReplError object.
pVal Error number.
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

Description Property

ErrorNumberString Property

Source Property

SourceType Property