Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AgentJobHistoryInfo Class

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)

public sealed class AgentJobHistoryInfo

The AgentJobHistoryInfo type exposes the following members.

Public methodAgentJobHistoryInfoInitializes a new instance of the AgentJobHistoryInfo class.

Public propertyLastRunDateTimeGets or sets the date and time when the last agent run message was logged.
Public propertyLastRunMessageGets or sets the last message logged from a replication agent.
Public propertyStatusGets or sets the last status logged by a replication agent.
Public propertyUserDataGets or sets an object to which users can attach their own data.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft