Compartir a través de


DistributorNetwork Property (Replication ActiveX)

The DistributorNetwork property specifies the client Net-Library used when connecting to the Distributor.

Sintaxis

object.DistributorNetwork [= value]
Part Description

object

Expression that evaluates to an object in the Applies To list.

value

NETWORK_TYPE (Replication ActiveX) constant that specifies the client Net-Library used when connecting to the Distributor.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Notas

This option is useful when configuring the control to connect to the Distributor without having to use SQL Server Client Network Utility.

If the value is not DEFAULT_NETWORK (default), the DistributorAddress Property (Replication ActiveX) property must be specified.

Data Type

NETWORK_TYPE (Replication ActiveX)

Modifiable

Read/write

Prototype C/C++

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