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

SubscriptionSyncType

一个 SubscriptionSyncType 值。A SubscriptionSyncType value.

Remarks

SyncType 属性只能由订阅服务器上sysadmin固定服务器角色的成员或订阅数据库上db_owner固定数据库角色的成员来检索。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.

SyncType 属性只能由订阅服务器上sysadmin固定服务器角色的成员或订阅数据库上db_owner固定数据库角色的成员设置。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.

检索 SyncType 属性等效于执行sp_helpmergepullsubscriptionRetrieving the SyncType property is equivalent to executing sp_helpmergepullsubscription.

设置 SyncType 属性等效于执行sp_addmergepullsubscriptionsp_changemergepullsubscriptionSetting the SyncType property is equivalent to executing sp_addmergepullsubscription or sp_changemergepullsubscription.

Applies to