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.