Share via


SubscriptionOption Enum

Definition

Enumerates the type of subscription.

public enum class SubscriptionOption
public enum SubscriptionOption
type SubscriptionOption = 
Public Enum SubscriptionOption
Inheritance
SubscriptionOption

Fields

Name Value Description
Push 0

Push subscription.

Pull 1

Pull subscription.

Anonymous 2

Anonymous subscription. Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.

Remarks

The type of subscription you choose controls where the agent runs. With a push subscription, the Merge Agent or Distribution Agent runs at the Distributor, whereas with a pull subscription, agents run at the Subscribers.

Applies to