語言

MergeSubscription.SubscriberType 屬性

定義

會取得或設定訂閱是客戶端還是伺服器訂閱。

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

屬性值

一個 MergeSubscriberType 值。

備註

SubscriberType該屬性僅能由Publisher的系統管理員固定伺服器角色成員、出版資料庫中固定資料庫db_owner角色的成員,或訂閱所屬出版品的出版存取清單成員取得。

SubscriberType此屬性僅能由Publisher的系統管理員固定伺服器角色成員,或由發佈資料庫中db_owner固定資料庫角色的成員設定。

檢索 SubscriberType 等同於執行 sp_helpmergesubscription

設定 SubscriberType 等同於執行 sp_addmergesubscriptionsp_changemergesubscription

適用於