SqlCeReplication.DistributorNetwork Property

Specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.

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


Public Property DistributorNetwork As NetworkType
public NetworkType DistributorNetwork { get; set; }
property NetworkType DistributorNetwork {
    NetworkType get ();
    void set (NetworkType value);
/** @property */
public NetworkType get_DistributorNetwork ()

/** @property */
public void set_DistributorNetwork (NetworkType value)
public function get DistributorNetwork () : NetworkType

public function set DistributorNetwork (value : NetworkType)

Property Value

The NetworkType constant used by the SQL Server Reconciler to communicate with the Distributor.


The NetworkType value can be one of the following constants:




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


Multiprotocol Net Library.


TCP/IP Sockets Net-Library.

The DistributorNetwork property must be specified when the SQL Server Reconciler connects to the Distributor using a network protocol other than the default protocol specified in the Client Network Utility.

If Distributor connection properties are not specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and Publisher connection properties are used when connecting to the Distributor.

The DistributorAddress property must be specified if the value of the DistributorNetwork property is not set to DefaultNetwork.

Thread Safety

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

See Also


SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace