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.

Syntax

object.PublisherAddress [= value]

Parameters

  • value
    Network connection string

Applies To

SQL Server Compact 3.5 (SQL Server Compact 3.5) Replication object

Data Type

String

Modifiable

Read/write

Prototype

HRESULT get_PublisherAddress(BSTR *pVal);
HRESULT put_PublisherAddress(BSTR newVal);

Remarks

PublisherAddress is required when PublisherNetwork is set to a value other than DEFAULT_NETWORK.

Specify this property to indicate how the SQL Server Compact 3.5 Replication Provider communicates with the Publisher. For example, if the SQL Server Compact 3.5 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, '111.11.11.11,1433').

See Also

Reference

PublisherNetwork Property (Replication)
Replication Object Properties

Help and Information

Getting Assistance (SQL Server Compact 3.5 Service Pack 1)