Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ExchangeType Property (Replication)

SQL Server 2000

ExchangeType Property (Replication)

The ExchangeType property specifies whether the synchronization between the Publisher and the Subscriber is bidirectional or upload-only.

Applies To

SQL Server CE Replication object

object.ExchangeType [= value]
Part Description
object SQL Server CE Replication object
value EXCHANGE_TYPE constant that specifies the direction in which data can be merged
Data Type


Constant Value Description
BIDIRECTIONAL 3 Merge all changes between the Publisher and Subscriber (Default).
UPLOAD 1 Only merge Subscriber changes with the Publisher.


Prototype eVC++
HRESULT get_ExchangeType(EXCHANGE_TYPE *pVal);
HRESULT put_ExchangeType(EXCHANGE_TYPE newVal);

BIDIRECTIONAL is used to first upload data to the Publisher. After the upload is complete, data is then downloaded to the Subscriber. Exchange_Type is forced to BIDIRECTIONAL during initial synchronization or when a ReinitializeSubscription is requested. Microsoft® SQL Server™ 2000 Windows® CE Edition (SQL Server CE) does not support the Exchange_Type value DOWNLOAD.

See Also
ReinitializeSubscription Method

Replication Object Properties

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft