Share via


DistributionSubscription.SubscriptionType Property

Definition

Gets or sets whether the Distribution agent runs at the Distributor (Push) or at the Subscriber (Pull).

public:
 property Microsoft::SqlServer::Replication::SubscriptionOption SubscriptionType { Microsoft::SqlServer::Replication::SubscriptionOption get(); void set(Microsoft::SqlServer::Replication::SubscriptionOption value); };
public Microsoft.SqlServer.Replication.SubscriptionOption SubscriptionType { get; set; }
member this.SubscriptionType : Microsoft.SqlServer.Replication.SubscriptionOption with get, set
Public Property SubscriptionType As SubscriptionOption

Property Value

The type of subscription.

Remarks

This property cannot be set for an existing subscription.

The SubscriptionType property can only be retrieved by members of the db_owner fixed database role on the distribution database.

The SubscriptionType property can be set by any user.

Applies to