Share via


MergeSynchronizationAgent.SubscriptionType Property

Definition

Gets or sets whether the subscription is a push or pull subscription.

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

Property Value

A SubscriptionOption value that indicates the subscription type.

Implements

Remarks

The type of subscription you choose depends on where the agent runs. With a push subscription, the Merge Agent runs at the Distributor; whereas, with a pull subscription, agent runs at the Subscriber. Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases such as Web synchronization, in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.

Applies to