SkipErrors Property

Replication Programming

Replication Programming

SkipErrors Property

The SkipErrors property returns or sets a list of the errors to be skipped.

Applies To

SQLDistribution Object

Syntax

object.SkipErrors [= list]

Part Description
object Expression that evaluates to a SQLDistribution object.
list List of the errors that are to be skipped by the control.
Remarks

The SkipErrors list has this format:

<native_error_id1>:<native_error_id2>:<native_error_id3>....

Native error IDs are the error numbers from the underlying database. Only the errors that are encountered when applying replication transactions at the Subscriber can be skipped.

Data Type

String

Modifiable

Read/Write

Prototype C/C++

HRESULT get_SkipErrors(BSTR *pList);

HRESULT put_SkipErrors(BSTR pList);

See Also

Handling Errors and Messages in Applications