语言

ReplicationDatabase.HasPullSubscriptions 属性

定义

它能检测数据库是否有已有的拉取订阅。

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)。

适用于