The PublisherNetwork property specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.
object.PublisherNetwork [= value]
Applies To
SQL Server Compact 3.5 Replication object
- value
The NETWORK_TYPE constant that specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.
Data Type
NETWORK_TYPE
Constant |
Value |
Description |
---|---|---|
DEFAULT_NETWORK |
0 |
Use the current configured client Net Library (default). |
TCPIP_SOCKETS |
1 |
TCP/IP Sockets Net Library. |
Modifiable
Read/write
Prototype
HRESULT get_PublisherNetwork(NETWORK_TYPE *pVal);
HRESULT put_PublisherNetwork(NETWORK_TYPE newVal);
PublisherNetwork must be specified when the SQL Server Replication Provider connects to the Publisher using a network protocol other than the default protocol specified in Client Network Utility.
The PublisherAddress property must be specified if the value of PublisherNetwork is not set to DEFAULT_NETWORK (default).