共用方式為


Distributor 屬性 (複寫)

Distributor 屬性指定 Microsoft SQL Server 複寫散發者。

語法

object.Distributor [= value]

參數

  • value
    發行者使用的散發者名稱

適用於

SQL Server 2005 Compact Edition Replication 物件

資料類型

字串

可修改

讀取/寫入

原型

HRESULT get_Distributor(BSTR *pVal);
HRESULT put_Distributor(BSTR newVal);

備註

散發者是執行 SQL Server 執行個體的電腦,其中儲存快照集,並且記錄複寫歷程記錄與統計資料。

如果指定 DistributorNetwork 和 DistributorAddress 屬性,在連接到散發者時會使用這些屬性,而不使用 Distributor。

Distributor 為選用屬性。若未指定任何散發者連接屬性,就會假定發行者與散發者位於相同的 SQL Server 執行個體上,而且在連接到散發者時,就會使用發行者連接屬性。然而,如果您設定任何一個散發者屬性,就必須設定所有必要的散發者屬性。

請參閱

參考

DistributorNetwork 屬性 (複寫)
DistributorAddress 屬性 (複寫)
Replication 物件屬性

說明及資訊

取得 SQL Server Compact Edition 協助