Partilhar via


DistributorNetwork Property (Replication)

The DistributorNetwork property specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.

Syntax

object.DistributorNetwork [= value]

Parameters

  • value
    The NETWORK_TYPE data type that specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.

Applies To

SQL Server 2005 Compact Edition Replication object

Data Type

NETWORK_TYPE

Constant Value Description

DEFAULT_NETWORK

0

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

TCPIP_SOCKETS

1

Use the TCP/IP Sockets Net-Library.

Modifiable

Read/write

Prototype

HRESULT get_DistributorNetwork(NETWORK_TYPE *pVal);
HRESULT put_DistributorNetwork(NETWORK_TYPE newVal);

Remarks

The DistributorNetwork property must be specified when the SQL Server Reconciler connects to the Distributor by using a network protocol other than the default protocol specified in Client Network Utility. Otherwise, the DistributorNetwork is optional. If none of the Distributor connection properties are specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and the Publisher connection properties are used when connecting to the Distributor. However, if you set any one of the Distributor connection properties, you must set all the required properties.

The DistributorAddress property must be specified if the value of DistributorNetwork is not DEFAULT_NETWORK (default).

See Also

Reference

DistributorAddress Property (Replication)
Distributor Property (Replication)
Replication Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance