PullSubscription.LastAgentJobHistoryInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与上次运行的同步代理作业有关的信息。
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
或创建订阅的用户调用。