Export (0) Print
Expand All

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)

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:

Constant

Description

DefaultNetwork

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

MultiProtocol

Multiprotocol Net Library.

TcpIpSockets

TCP/IP Sockets Net-Library.


Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Mobile 5.0, Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
Version Information
.NET Framework and NET Compact Framework
Supported in 3.5
.NET Framework
Supported in 3.0
.NET Compact Framework and .Net Framework
Supported in 2.0

Show:
© 2015 Microsoft