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该属性只能由Publisher中固定服务器角色的成员sysadmin或复制数据库中固定数据库角色的成员db_owner检索。
检索 HasPullSubscriptions 等同于执行 sp_helpreplicationdboption(Transact-SQL)。