PublisherNetwork Property
Specifies the network protocol used when the Replication Provider communicates with the Publisher.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property PublisherNetwork As NetworkType
Get
Set
'Usage
Dim instance As SqlCeReplication
Dim value As NetworkType
value = instance.PublisherNetwork
instance.PublisherNetwork = value
public NetworkType PublisherNetwork { get; set; }
public:
property NetworkType PublisherNetwork {
NetworkType get ();
void set (NetworkType value);
}
member PublisherNetwork : NetworkType with get, set
function get PublisherNetwork () : NetworkType
function set PublisherNetwork (value : NetworkType)
Property Value
Type: System.Data.SqlServerCe. . :: . .NetworkType
The NetworkType constant that specifies the network protocol used.
Remarks
This property must be specified when the Replication Provider connects to the Publisher using a network protocol other than the default protocol specified in Client Network Utility.
The PublisherAddress property must also be specified if the value of the PublisherNetwork property is not set to DefaultNetwork.
The NetworkType can be set to one of the following constants:
Constant |
Description |
---|---|
Use the current configured client Net-Library (default). |
|
Multiprotocol Net Library. |
|
TCP/IP Sockets Net-Library. |