Returns information for the Queue Reader Agent job used by the monitored publication.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Return ValueType: DataSet
A DataSet object that contains the following columns.
Replication Agent job name.
The running status:
1 = Start
2 = Succeed
3 = In progress
4 = Idle
5 = Retry
6 = Fail
Date and time of last agent execution.
Date and time that the session was logged.
Elapsed time of the session, in seconds.
Message text logged by the agent.
Total number of transactions processed in the session.
Total number of commands processed 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 read from the queue at the Subscriber and being committed to the publication 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.