Udostępnij za pośrednictwem


TransSynchronizationAgent.DistributorAddress Property

Definition

Gets or sets the network address that is used to connect to the distributor when the DistributorNetwork property is specified.

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

Property Value

The distributor address.

Implements

Remarks

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

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

For example, if the Distributor is accessed over the Internet, DistributorNetwork can be set to TcpIPSockets and DistributorAddress can be set to a specific IP address.

If the DistributorNetwork 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