共用方式為


MergePullSubscription.SyncType Property

Definition

Gets or sets the manner in which data is initialized at the Subscriber.

public:
 property Microsoft::SqlServer::Replication::SubscriptionSyncType SyncType { Microsoft::SqlServer::Replication::SubscriptionSyncType get(); void set(Microsoft::SqlServer::Replication::SubscriptionSyncType value); };
public Microsoft.SqlServer.Replication.SubscriptionSyncType SyncType { get; set; }
member this.SyncType : Microsoft.SqlServer.Replication.SubscriptionSyncType with get, set
Public Property SyncType As SubscriptionSyncType

Property Value

A SubscriptionSyncType value.

Remarks

The SyncType property can only be retrieved by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

The SyncType property can only be set by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

Retrieving the SyncType property is equivalent to executing sp_helpmergepullsubscription.

Setting the SyncType property is equivalent to executing sp_addmergepullsubscription or sp_changemergepullsubscription.

Applies to