ErrorRecords Property

Replication Programming

Replication Programming

ErrorRecords Property

The ErrorRecords property returns a reference to the SQLReplErrors collection maintained by the replication control.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.ErrorRecords

Part Description
object Expression that evaluates to an object in the Applies To list.
Remarks

The SQLReplErrors collection is loaded when a control method fails. The error records in the collection are available until the next replication control method is called.

Data Type

SQLReplErrors Collection

Modifiable

Read-only

Prototype C/C++

HRESULT ErrorRecords(ISQLReplErrors** pVal);

See Also

SQLReplError Object

SQLReplErrors Collection