Returns information on Log Reader Agent jobs at the monitored Distributor.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Return ValueType: DataSet
A DataSet object that contains the following columns.
Name of the distribution database.
Replication agent job name.
The running status:
1 = Start
2 = Succeed
3 = In progress
4 = Idle
5 = Retry
6 = Fail
Name of the publication database.
Date and time of the last agent execution.
Date and time that the session was logged.
Elapsed time of the session, in seconds.
Message text logged by the agent.
The time the first transaction is delivered.
Total number of transactions delivered in the session.
Total number of commands delivered in the session.
Average number of commands per transaction delivered in the session.
Average number of commands delivered per second.
The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database.
Identifier of the SQL Server Agent job starting the replication agent.
When true, the agent job is available at the Distributor.
Agent job identifier.
Timestamp of the most recent agent run.
You should commit any property changes to the ReplicationMonitor 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.