ReplicationServer.DistributorInstalled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取目前連線的 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) 儲存程序。