AgentJobHistoryInfo Class

Returns information about the results of the last run of a replication agent.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.AgentJobHistoryInfo

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public NotInheritable Class AgentJobHistoryInfo
'Usage
Dim instance As AgentJobHistoryInfo
public sealed class AgentJobHistoryInfo
public ref class AgentJobHistoryInfo sealed
[<SealedAttribute>]
type AgentJobHistoryInfo =  class end
public final class AgentJobHistoryInfo

The AgentJobHistoryInfo type exposes the following members.

Constructors

  Name Description
Public method AgentJobHistoryInfo Initializes a new instance of the AgentJobHistoryInfo class.

Top

Properties

  Name Description
Public property LastRunDateTime Gets or sets the date and time when the last agent run message was logged.
Public property LastRunMessage Gets or sets the last message logged from a replication agent.
Public property Status Gets or sets the last status logged by a replication agent.
Public property UserData Gets or sets an object to which users can attach their own data.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.

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.

Thread Safety

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