Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)
/** @property */ public ExchangeType get_ExchangeType () /** @property */ public void set_ExchangeType (ExchangeType value)
public function get ExchangeType () : ExchangeType public function set ExchangeType (value : ExchangeType)
Property ValueThe ExchangeType constant that specifies whether data merges up to the Publisher only, or in both directions between the Publisher and the Subscriber.
ExchangeType can be either of these constants:
Merges all changes between the Publisher and Subscriber (default).
Only merges the Subscriber changes with the Publisher.
BiDirectional is used first to upload data to the Publisher. After the upload is complete, data is then downloaded to the Subscriber. The ExchangeType property is forced to BiDirectional during initial synchronization or when a ReinitializeSubscription is requested.
SQL Server Compact Edition does not support the ExchangeType value Download.