MergeSynchronizationAgent.PublisherAddress Property

Definition

Gets or sets the network address that is used to connect to the Publisher when the PublisherNetwork property is specified.

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

Property Value

A String value that represents the address of the Publisher.

Implements

Remarks

This property is required only when the PublisherNetwork property is set to a value other than DefaultNetwork.

This property is useful when configuring the control to connect to the Publisher without having to use SQL Server Configuration Manager.

For example, if the Publisher is accessed over the Internet, PublisherNetwork can be set to TcpIPSockets and PublisherAddress can be set to a specific IP address.

If the PublisherNetwork property is TcpIPSockets or Multiprotocol by using TCP/IP, the value is in the form of 'IP address,socket' (such as '111.11.11.11,1433').

Applies to