DistributionSubscription.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 or sets the status of the subscription.
public:
property Microsoft::SqlServer::Replication::SubscriptionState Status { Microsoft::SqlServer::Replication::SubscriptionState get(); void set(Microsoft::SqlServer::Replication::SubscriptionState value); };
public Microsoft.SqlServer.Replication.SubscriptionState Status { get; set; }
member this.Status : Microsoft.SqlServer.Replication.SubscriptionState with get, set
Public Property Status As SubscriptionState
Property Value
The status of a subscription.
Remarks
This property cannot be set for an existing subscription.
The Status property can only be retrieved by members of the db_owner
fixed database role on the distribution database.
The Status property can be set by any user.