Returns information about errors associated with a specified error ID that occurred during a synchronization session.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Return ValueType: System.Data.DataSet
A DataSet object that contains the following columns.
Identifies the source of the error.
The name of the error source.
The error code.
The message text for the error.
(No column name)
Date and time that the error occurred.
Type of error that occurred.
If the error has a corresponding transaction log sequence number.
The starting transaction log sequence number of the failed execution batch.
The command ID of the first command in the failed execution batch.
You should commit any property changes to the PublicationMonitor object before calling this method because properties of this object may need to be loaded if they have not been loaded already.
The method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.