LastAgentJobHistoryInfo méthode
Returns information on the last Synchronization Agent job that was run.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Function LastAgentJobHistoryInfo As AgentJobHistoryInfo
'Utilisation
Dim instance As PullSubscription
Dim returnValue As AgentJobHistoryInfo
returnValue = instance.LastAgentJobHistoryInfo()
public AgentJobHistoryInfo LastAgentJobHistoryInfo()
public:
AgentJobHistoryInfo^ LastAgentJobHistoryInfo()
member LastAgentJobHistoryInfo : unit -> AgentJobHistoryInfo
public function LastAgentJobHistoryInfo() : AgentJobHistoryInfo
Valeur de retour
Type : Microsoft.SqlServer.Replication. . :: . .AgentJobHistoryInfo
An AgentJobHistoryInfo object.
Notes
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.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.