ReplicationDatabase.HasPullSubscriptions プロパティ

定義

データベースに既存のプルサブスクリプションがあるかどうかを把握します。

public:
 property bool HasPullSubscriptions { bool get(); };
public bool HasPullSubscriptions { get; }
member this.HasPullSubscriptions : bool
Public ReadOnly Property HasPullSubscriptions As Boolean

プロパティ値

Boolean の値。 trueなら、データベースには少なくとも1つのプルサブスクリプションがあります。 falseなら、データベースには既存のプルサブスクリプションはありません。

注釈

HasPullSubscriptionsプロパティは、Publisherのsysadmin固定サーバーロールのメンバーか、レプリケーションデータベース上のdb_owner固定データベースメンバーのみが取得可能です。

HasPullSubscriptionsの取得はsp_helpreplicationdboptionを実行するのと同等です(Transact-SQL)

適用対象