This documentation is archived and is not being maintained.

SqlCeReplication.PublisherNetwork Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public Property PublisherNetwork As NetworkType
public NetworkType PublisherNetwork {get; set;}
public: __property NetworkType get_PublisherNetwork();
public: __property void set_PublisherNetwork(NetworkType);
public function get PublisherNetwork() : NetworkType;
public function set PublisherNetwork(NetworkType);

Property Value

The NetworkType constant that specifies the network protocol used.


The PublisherNetwork 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 be specified if the value of the PublisherNetwork property is not DefaultNetwork (default).

NetworkType can be any one of these constants:

Constant Description
DefaultNetwork Use the current configured client Net-Library (default).
MultiProtocol Multiprotocol Net Library.
TcpipSockets TCP/IP Sockets Net Library.


Platforms: .NET Compact Framework

.NET Framework Security: 

See Also

SqlCeReplication Class | SqlCeReplication Members | System.Data.SqlServerCe Namespace