TransPullSubscription.SubscriberType 屬性

定義

取得或設定訂閱的更新行為。

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

屬性值

TransSubscriberType

TransSubscriberType 物件。

備註

您無法設定現有訂用帳戶的 SubscriberType 屬性。

只有在訂閱者端的 SubscriberType sysadmin 固定伺服器角色成員,或 db_owner 訂閱資料庫的固定資料庫角色成員,才能抓取此屬性。

只有在訂閱者端的 SubscriberType sysadmin 固定伺服器角色成員,或 db_owner 訂閱資料庫上的固定資料庫角色成員,才能設定此屬性。

抓取 SubscriberType 屬性相當於執行 sp_helppullsubscription

設定 SubscriberType 屬性相當於執行 sp_addpullsubscription

適用於