Export (0) Print
Expand All

MergeSynchronizationAgent::SubscriptionType Property

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

virtual property SubscriptionOption SubscriptionType {
	SubscriptionOption get ();
	void set (SubscriptionOption value);

Property Value

Type: Microsoft.SqlServer.Replication::SubscriptionOption
A SubscriptionOption value that indicates the subscription type.



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.

Community Additions

© 2014 Microsoft