PullSubscription.LastAgentJobHistoryInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns information on the last Synchronization Agent job that was run.
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
Returns
An AgentJobHistoryInfo object.
Remarks
The LastAgentJobHistoryInfo method can only be called by members of the sysadmin
fixed server role at the Subscriber or by the user who created the subscription.