Partager via


Énumération SubscriptionOption

Enumerates the type of subscription.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(True)> _
Public Enumeration SubscriptionOption
'Utilisation
Dim instance As SubscriptionOption
[ComVisibleAttribute(true)]
public enum SubscriptionOption
[ComVisibleAttribute(true)]
public enum class SubscriptionOption
[<ComVisibleAttribute(true)>]
type SubscriptionOption
public enum SubscriptionOption

Membres

Nom de membre Description
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.

Notes

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.