MergeSynchronizationAgent.PublisherAddress 屬性

定義

取得或設定當指定 PublisherNetwork 屬性時,用來連接發行者的網路位址。

public:
 virtual property System::String ^ PublisherAddress { System::String ^ get(); void set(System::String ^ value); };
public virtual string PublisherAddress { get; set; }
member this.PublisherAddress : string with get, set
Public Overridable Property PublisherAddress As String

屬性值

String

表示發行者位址的 String 值。

實作

備註

只有當 PublisherNetwork 屬性設定為以外的值時,才需要這個屬性 DefaultNetwork

當您將控制項設定為連接到發行者,而不需要使用 Configuration Manager 時,這個屬性就很有用 SQL Server 。

例如,如果發行者是透過網際網路存取, PublisherNetwork 可以設定為 TcpIPSockets ,而且 PublisherAddress 可以設定為特定的 IP 位址。

如果 PublisherNetwork 屬性是 TcpIPSocketsMultiprotocol 使用 tcp/ip,則值的格式為「IP 位址,通訊端」 (例如 ' 111.11.11.11,1433 ' ) 。

適用於