共用方式為


SubscriptionOption Enumeration

Enumerates the type of subscription.

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
<ComVisibleAttribute(True)> _
Public Enumeration SubscriptionOption
[ComVisibleAttribute(true)] 
public enum SubscriptionOption
[ComVisibleAttribute(true)] 
public enum class SubscriptionOption
/** @attribute ComVisibleAttribute(true) */ 
public enum SubscriptionOption
ComVisibleAttribute(true) 
public enum SubscriptionOption

Members

Member name Description
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.
Pull Pull subscription.
Push Push subscription.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Replication Namespace