DistributorAddress Property (Replication)
The DistributorAddress property specifies the network address used when connecting to the Distributor. DistributorAddress is specified when the DistributorNetwork property is specified.
SQL Server CE Replication object
object.DistributorAddress [= value]
|object||SQL Server CE Replication object|
|value||Network address used when connecting to the Distributor|
HRESULT get_DistributorAddress(BSTR *pVal); HRESULT put_DistributorAddress(BSTR newVal);
This is a required property only when DistributorNetwork is set to a value other than DEFAULT_NETWORK.
Specify this property to indicate how the SQL Server Reconciler communicates with the Distributor. For example, if the SQL Server CE Server Agent and the Distributor are located on two different systems and these systems communicate over the Internet, DistributorNetwork could be set to TCP/IP_SOCKETS, and DistributorAddress could be set to a specific IP address. If the DistributorNetwork is TCP/IP_SOCKETS or MULTI_PROTOCOL using TCP/IP, the DistributorNetwork value is in the form: 'IP address,socket' (for example, '184.108.40.206,1433')
If none of the Distributor connection properties are specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and the Publisher connection properties are used when connecting to the Distributor. However, if you set any of the Distributor connection properties, you must set all of the required Distributor properties.