语言

PullSubscription.LastAgentJobHistoryInfo 方法

定义

返回上一次运行的同步代理作业信息。

public:
 Microsoft::SqlServer::Replication::AgentJobHistoryInfo ^ LastAgentJobHistoryInfo();
public Microsoft.SqlServer.Replication.AgentJobHistoryInfo LastAgentJobHistoryInfo();
member this.LastAgentJobHistoryInfo : unit -> Microsoft.SqlServer.Replication.AgentJobHistoryInfo
Public Function LastAgentJobHistoryInfo () As AgentJobHistoryInfo

返回

一个 AgentJobHistoryInfo 对象。

注解

LastAgentJobHistoryInfo该方法只能由订阅者固定服务器角色的成员sysadmin或创建订阅的用户调用。

适用于