语言

ReplicationServer.DistributorInstalled 属性

定义

查看当前连接的 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) 存储过程。

适用于