SqlCeReplication.DistributorNetwork Property
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.
[Visual Basic] Public Property DistributorNetwork As NetworkType [C#] public NetworkType DistributorNetwork {get; set;} [C++] public: __property NetworkType get_DistributorNetwork(); public: __property void set_DistributorNetwork(NetworkType); [JScript] public function get DistributorNetwork() : NetworkType; public function set DistributorNetwork(NetworkType);
Property Value
The NetworkType constant used by the SQL Server Reconcilerto communicate with the Distributor.
Remarks
The NetworkType value can be any one of these constants:
Constant | Description |
---|---|
DefaultNetwork | Use the current configured client Net-Library (default). |
MultiProtocol | Multiprotocol Net Library. |
TcpipSockets | TCP/IP Sockets Net Library. |
The DistributorNetwork property must be specified when the SQL Server Reconciler connects to the Distributor using a network protocol other than the default protocol specified in Client Network Utility.
If Distributor connection properties are not specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and Publisher connection properties are used when connecting to the Distributor.
The DistributorAddress property must be specified if the value of the DistributorNetwork property is not DefaultNetwork (default).
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeReplication Class | SqlCeReplication Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.