PublisherAddress Property (Replication)
The PublisherAddress property specifies the network address used when connecting to the Publisher. PublisherAddress is specified when the PublisherNetwork property is specified.
SQL Server CE Replication object
object.PublisherAddress [= value]
|object||SQL Server CE Replication object|
|value||Network connection string|
HRESULT get_PublisherAddress(BSTR *pVal); HRESULT put_PublisherAddress(BSTR newVal);
PublisherAddress is required when PublisherNetwork is set to a value other than DEFAULT_NETWORK.
Specify this property to indicate how the SQL Server Replication Provider communicates with the Publisher. For example, if the SQL Server CE Replication Agent and the Publisher are located on two different systems and these two systems communicate over the Internet, PublisherNetwork could be set to TCP/IP_SOCKETS, and PublisherAddress could be set to a specific IP address.
If PublisherNetwork is TCP/IP_SOCKETS or MULTI_PROTOCOL using TCP/IP, the PublisherAddress value is in the form of 'IP address,socket' (for example, '188.8.131.52,1433').