The PublisherNetwork property specifies the client Net-Library used when connecting to the Publisher.
| SQLDistribution Object | SQLMerge Object |
object.PublisherNetwork [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | NETWORK_TYPE constant that specifies the client Net-Library to use |
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 must be specified.
Read/write
HRESULT get_PublisherNetwork(NETWORK_TYPE *pVal);
HRESULT put_PublisherNetwork(NETWORK_TYPE newVal);
| Publisher Property | PublisherAddress Property |