Share via


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
[C#]
public NetworkType PublisherNetwork {get; set;}
[C++]
public: __property NetworkType get_PublisherNetwork();
public: __property void set_PublisherNetwork(NetworkType);
[JScript]
public function get PublisherNetwork() : NetworkType;
public function set PublisherNetwork(NetworkType);

Property Value

The NetworkType constant that specifies the network protocol used.

Remarks

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.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

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

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.