DistributorNetwork Property

Specifies the network protocol used when the 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
    Get
    Set
'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);
}
member DistributorNetwork : NetworkType with get, set
function get DistributorNetwork () : NetworkType
function set DistributorNetwork (value : NetworkType)

Property Value

Type: System.Data.SqlServerCe. . :: . .NetworkType
The NetworkType constant used by the 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 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 , 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.

See Also

Reference

SqlCeReplication Class

SqlCeReplication Members

System.Data.SqlServerCe Namespace