次の方法で共有


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 プロパティを取得できるのは、パブリッシャー側の固定サーバー ロール sysadmin のメンバー、またはレプリケーション データベースの固定データベース ロール db_owner のメンバーだけです。

HasPullSubscriptions取得は、sp_helpreplicationdboption (Transact-SQL) の実行と同じです。

適用対象