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)
Not applicable.

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.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace