PublisherNetwork Property (Replication)

The PublisherNetwork property specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.

Syntax

object.PublisherNetwork [= value]

Parameters

  • value
    The NETWORK_TYPE constant that specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.

Applies To

SQL Server Compact 3.5 Replication object

Data Type

NETWORK_TYPE

Constant Value Description

DEFAULT_NETWORK

0

Use the current configured client Net Library (default).

TCPIP_SOCKETS

1

TCP/IP Sockets Net Library.

Modifiable

Read/write

Prototype

HRESULT get_PublisherNetwork(NETWORK_TYPE *pVal);
HRESULT put_PublisherNetwork(NETWORK_TYPE newVal);

Remarks

PublisherNetwork must be specified when the SQL Server Replication Provider connects to the Publisher using a network protocol other than the default protocol specified in Client Network Utility.

The PublisherAddress property must be specified if the value of PublisherNetwork is not set to DEFAULT_NETWORK (default).

See Also

Reference

PublisherAddress Property (Replication)
Replication Object Properties

Help and Information

Getting Assistance (SQL Server Compact 3.5 Service Pack 1)