Returns information about the results of the last run of a replication agent.
继承层次结构
System.Object
Microsoft.SqlServer.Replication.AgentJobHistoryInfo
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public NotInheritable Class AgentJobHistoryInfo
用法
Dim instance As AgentJobHistoryInfo
public sealed class AgentJobHistoryInfo
public ref class AgentJobHistoryInfo sealed
[<SealedAttribute>]
type AgentJobHistoryInfo = class end
public final class AgentJobHistoryInfo
AgentJobHistoryInfo 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
AgentJobHistoryInfo | Initializes a new instance of the AgentJobHistoryInfo class. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
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. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
ToString | (从 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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。