Export (0) Print
Expand All

MergeSynchronizationAgent.DistributorAddress Property

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

public virtual string DistributorAddress { get; set; }

Property Value

Type: String
A String value that represents the Distributor address.



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 Merge Agent 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 is using TCP/IP, the value is in the form of 'IP address,socket' (such as ',1433').

If the Distributor connection properties are not specified, t is assumed that the Publisher and Distributor are the same instance of SQL Server and the Publisher connection properties will be used when connecting to the Distributor.

Community Additions

© 2014 Microsoft