Freigeben über


MergeSynchronizationAgent.SubscriptionType Property

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)

Syntax

'Declaration
Public Overridable Property SubscriptionType As SubscriptionOption
public virtual SubscriptionOption SubscriptionType { get; set; }
public:
virtual property SubscriptionOption SubscriptionType {
    SubscriptionOption get ();
    void set (SubscriptionOption newValue);
}
/** @property */
public SubscriptionOption get_SubscriptionType ()

/** @property */
public void set_SubscriptionType (SubscriptionOption newValue)
public function get SubscriptionType () : SubscriptionOption

public function set SubscriptionType (newValue : SubscriptionOption)

Eigenschaftswert

A SubscriptionOption value that indicates the subscription type.

Hinweise

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.

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace

Andere Ressourcen

Abonnieren von Publikationen