Share via


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)

Syntax

'Declaration
Public Property DistributorNetwork As NetworkType
'Usage
Dim instance As SqlCeReplication
Dim value As NetworkType

value = instance.DistributorNetwork

instance.DistributorNetwork = value
public NetworkType DistributorNetwork { get; set; 
public:
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.

Remarks

The NetworkType value can be 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.

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.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace