Determines whether the synchronization between the Subscriber and Publisher is bidirectional or upload-only.

Members

The following table lists and describes the enumerators of the REPL_EXCHANGE_TYPE enumeration and their corresponding values.

Member name

Value

Description

BIDIRECTIONAL

3

Snapshot files are accessed by the server agent by using a UNC share name.

UPLOAD

1

Snapshot files are transferred between the server agent and SQL Server by using the FTP protocol.

BIDIRECTIONAL is used to first upload data to the Publisher. After the upload is complete, data is then downloaded to the Subscriber. REPL_EXCHANGE_TYPE is forced to BIDIRECTIONAL during initial synchronization or when a ReinitializeSubscription is requested. SQL Server Compact 3.5 does not support the DOWNLOAD constant for the REPL_EXCHANGE_TYPE value.

Reference

ExchangeType Property (Replication)

Other Resources

Replication Programming (SQL Server Compact)