ReplicationServer.DistributorInstalled 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
查看当前连接的 SQL Server 实例是否有本地或远程分发器。
public:
property bool DistributorInstalled { bool get(); };
public bool DistributorInstalled { get; }
member this.DistributorInstalled : bool
Public ReadOnly Property DistributorInstalled As Boolean
属性值
一个Boolean指定Publisher是使用本地还是远程分发商的数值。
如果 true,则分配器是局部的。
如果 false,该 Publisher 的分发商位于远程服务器上。
注解
Publisher可以使用本地或远程分发器。
DistributorInstalled该属性可以被公共固定数据库角色的成员检索。
该 DistributorInstalled 属性等价于 sp_get_distributor(Transact-SQL) 存储过程。