語言

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者固定伺服器角色的成員或創建訂閱的使用者呼叫。

適用於