PullSubscription.LastAgentStatus プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
最新の同期状況を取得します。
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
プロパティ値
注釈
LastAgentStatusプロパティは、加入者側のsysadmin固定サーバーロールのメンバーか、サブスクリプションデータベースのdb_owner固定データベース役割のメンバーのみが取得可能です。
LastAgentStatusプロパティの取得は、sp_helppullsubscription(Transact-SQL)またはsp_helpmergepullsubscription(Transact-SQL)を実行するのと同等です。