PublicationMonitor.Status Property

Definition

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.

Applies to