Метод PullSubscription.LastAgentJobHistoryInfo
Returns information on the last Synchronization Agent job that was run.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public Function LastAgentJobHistoryInfo As AgentJobHistoryInfo
'Применение
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
Возвращаемое значение
Тип: Microsoft.SqlServer.Replication.AgentJobHistoryInfo
An AgentJobHistoryInfo object.
Замечания
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.