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或创建订阅的用户调用。

适用于