PublicationMonitor.Status 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 publication.
public:
property Microsoft::SqlServer::Replication::ReplicationStatus Status { Microsoft::SqlServer::Replication::ReplicationStatus get(); };
public Microsoft.SqlServer.Replication.ReplicationStatus Status { get; }
member this.Status : Microsoft.SqlServer.Replication.ReplicationStatus
Public ReadOnly Property Status As ReplicationStatus
Property Value
A ReplicationStatus object.
Remarks
If the ExcludeAnonymousSubscriptions property value is true
, anonymous subscriptions are excluded from the returned ReplicationStatus object.
The Status property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database.