TransPullSubscription.SubscriberType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定訂閱的更新行為。
public:
property Microsoft::SqlServer::Replication::TransSubscriberType SubscriberType { Microsoft::SqlServer::Replication::TransSubscriberType get(); void set(Microsoft::SqlServer::Replication::TransSubscriberType value); };
public Microsoft.SqlServer.Replication.TransSubscriberType SubscriberType { get; set; }
member this.SubscriberType : Microsoft.SqlServer.Replication.TransSubscriberType with get, set
Public Property SubscriberType As TransSubscriberType
屬性值
備註
您無法設定現有訂用帳戶的 SubscriberType 屬性。
只有在訂閱者端的 SubscriberType sysadmin 固定伺服器角色成員,或 db_owner 訂閱資料庫的固定資料庫角色成員,才能抓取此屬性。
只有在訂閱者端的 SubscriberType sysadmin 固定伺服器角色成員,或 db_owner 訂閱資料庫上的固定資料庫角色成員,才能設定此屬性。
抓取 SubscriberType 屬性相當於執行 sp_helppullsubscription。
設定 SubscriberType 屬性相當於執行 sp_addpullsubscription。