PullSubscription.LastAgentStatus プロパティ

定義

サブスクリプションの最新の同期状態を取得します。

public:
 property Microsoft::SqlServer::Replication::ReplicationStatus LastAgentStatus { Microsoft::SqlServer::Replication::ReplicationStatus get(); };
public Microsoft.SqlServer.Replication.ReplicationStatus LastAgentStatus { get; }
member this.LastAgentStatus : Microsoft.SqlServer.Replication.ReplicationStatus
Public ReadOnly Property LastAgentStatus As ReplicationStatus

プロパティ値

ReplicationStatus 値。

注釈

LastAgentStatus プロパティを取得できるのは、サブスクライバー側の固定サーバー ロール sysadmin のメンバー、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバーだけです。

プロパティの LastAgentStatus 取得は、 sp_helppullsubscription (Transact-SQL) または sp_helpmergepullsubscription (Transact-SQL) の実行と同じです。

適用対象