ReplicationDatabase.HasPullSubscriptions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會知道資料庫是否有現有的拉取訂閱。
public:
property bool HasPullSubscriptions { bool get(); };
public bool HasPullSubscriptions { get; }
member this.HasPullSubscriptions : bool
Public ReadOnly Property HasPullSubscriptions As Boolean
屬性值
一個 Boolean 值。 如果 true,資料庫至少有一個現有的拉取訂閱。 如果 false,資料庫中沒有現有的拉取訂閱。
備註
HasPullSubscriptions該屬性僅能由 sysadmin Publisher db_owner 固定伺服器角色成員或複製資料庫中固定資料庫角色成員檢索。
取回 HasPullSubscriptions 相當於執行 sp_helpreplicationdboption(Transact-SQL)。