AgentJobHistoryInfo Class
SQL Server 2008 R2
Returns information about the results of the last run of a replication agent.
Namespace:
Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
The AgentJobHistoryInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LastRunDateTime | Gets or sets the date and time when the last agent run message was logged. |
![]() | LastRunMessage | Gets or sets the last message logged from a replication agent. |
![]() | Status | Gets or sets the last status logged by a replication agent. |
![]() | UserData | Gets or sets an object to which users can attach their own data. |

