SubscriptionOption 枚举

Enumerates the type of subscription.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Enumeration SubscriptionOption
用法
Dim instance As SubscriptionOption
public enum SubscriptionOption
public enum class SubscriptionOption
type SubscriptionOption
public enum SubscriptionOption

成员

成员名称 说明
Push Push subscription.
Pull Pull subscription.
Anonymous 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.

注释

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.

请参阅

参考

Microsoft.SqlServer.Replication 命名空间