ReplicationServer.DistributorInstalled 屬性

定義

讀取目前連線的 SQL Server 實例是否有本地或遠端的 Distributor。

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) 儲存程序。

適用於