ExchangeType Property (Replication ActiveX)
The ExchangeType property specifies whether data merges up to the Publisher, down to the Subscriber, or in both directions.
Sintassi
object.ExchangeType [= value]
Osservazioni
Part | Description |
---|---|
object |
Expression that evaluates to a SQLMerge Object (Replication ActiveX) object. |
value |
EXCHANGE_TYPE (Replication ActiveX) constant that specifies the direction in which data can be merged. |
Applies To
SQLMerge Object (Replication ActiveX)
Osservazioni
The ExchangeType property is typically used first to upload all the changes from several Subscribers to a Publisher, and then to download the changes to the Subscribers only after all uploads have been completed.
You should use bidirectional synchronization (the default) unless you have a specific reason for separating the upload and download phases.
You must use bidirectional synchronization with Web synchronization.
Data Type
Modifiable
Read/write
Prototype C/C++
HRESULT get_ExchangeType(EXCHANGE_TYPE *pVal);
HRESULT put_ExchangeType(EXCHANGE_TYPE newVal);