PublisherNetwork Property (Replication ActiveX)

The PublisherNetwork property specifies the client Net-Library used when connecting to the Publisher.

语法

object.PublisherNetwork [= 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 to use.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

备注

This option is useful when configuring the control to connect to the Publisher 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

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherNetwork(NETWORK_TYPE *pVal);
HRESULT put_PublisherNetwork(NETWORK_TYPE newVal);

请参阅

参考

Publisher Property (Replication ActiveX)
PublisherAddress Property (Replication ActiveX)

帮助和信息

获取 SQL Server 2005 帮助