PullSubscription.LastAgentJobHistoryInfo メソッド

最後に実行された同期エージェント ジョブに関する情報を返します。

名前空間:  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
AgentJobHistoryInfo オブジェクトです。

説明

LastAgentJobHistoryInfo メソッドを呼び出すことができるのは、パブリッシャー側の固定サーバー ロール sysadmin のメンバーまたはサブスクリプションを作成したユーザーだけです。

関連項目

参照

PullSubscription クラス

Microsoft.SqlServer.Replication 名前空間