TransSynchronizationAgent.SubscriptionType Property
Gets or sets whether the subscription is a push or pull subscription.
Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
Sintassi
'Dichiarazione
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)
Valore proprietà
A SubscriptionOption value that indicates the subscription type.
Osservazioni
The type of subscription you choose depends on where the agent runs. With a push subscription, the Distribution 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 in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.
Thread Safety
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace