PublisherMonitor.EnumErrorRecords(Int32) PublisherMonitor.EnumErrorRecords(Int32) PublisherMonitor.EnumErrorRecords(Int32) PublisherMonitor.EnumErrorRecords(Int32) Method


Returns information on errors associated with a specified error ID that occurred during a synchronization session.

 System::Data::DataSet ^ EnumErrorRecords(int errorId);
public System.Data.DataSet EnumErrorRecords (int errorId);
member this.EnumErrorRecords : int -> System.Data.DataSet
Public Function EnumErrorRecords (errorId As Integer) As DataSet


Int32 Int32 Int32 Int32

An Int32 value that specifies the ID value that uniquely identifies the error.


A DataSet object that contains the following columns.

Column Data type Description
source_type_id Int32 Identifies the source of the error.
source_name String The name of the error source.
error_code String The error code.
error_text String The message text for the error.
(No column name) String Date and time that the error occurred.
error_type_id Int32 Type of error that occurred.
has_xact_seqno Boolean If the error has a corresponding transaction log sequence number.
xact_seqno Byte **[]** The starting transaction log sequence number of the failed execution batch.
command_id Int32 The command ID of the first command in the failed execution batch.


Commit any property changes to the PublisherMonitor object before calling this method, because properties of this object may need to be loaded if they have not been loaded already.

The EnumErrorRecords method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.

Applies to

See also