PullSubscription.LastAgentStatus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the status of the most recent synchronization of the subscription.
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
Property Value
A ReplicationStatus value.
Remarks
The LastAgentStatus property can only be retrieved by members of the sysadmin
fixed server role at the Subscriber or by members of the db_owner
fixed database role on the subscription database.
Retrieving the LastAgentStatus property is equivalent to executing sp_helppullsubscription (Transact-SQL) or sp_helpmergepullsubscription (Transact-SQL).