SqlCeReplication.PublisherNetwork Property

Specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

public NetworkType PublisherNetwork { get; set; }
/** @property */
public NetworkType get_PublisherNetwork ()

/** @property */
public void set_PublisherNetwork (NetworkType value)

public function get PublisherNetwork () : NetworkType

public function set PublisherNetwork (value : NetworkType)

Not applicable.

Property Value

The NetworkType constant that specifies the network protocol used.

This property 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 also be specified if the value of the PublisherNetwork property is not set to DefaultNetwork.

The NetworkType can be set to one of the following constants:




Use the current configured client Net-Library (default).


Multiprotocol Net Library.


TCP/IP Sockets Net-Library.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions