SqlCeReplication.PublisherNetwork Property
Specifies the network protocol used when the SQL Server 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
'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);
/** @property */
public NetworkType get_PublisherNetwork ()
/** @property */
public void set_PublisherNetwork (NetworkType value)
public function get PublisherNetwork () : NetworkType
public function set PublisherNetwork (value : NetworkType)
Property Value
The NetworkType constant that specifies the network protocol used.
Remarks
This property 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 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 |
---|---|
DefaultNetwork |
Use the current configured client Net-Library (default). |
MultiProtocol |
Multiprotocol Net Library. |
TcpIpSockets |
TCP/IP Sockets Net-Library. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0, 1.0
See Also
Reference
SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace