SyncToAlternate Property
The SyncToAlternate property returns or sets whether the synchronization is to an alternate synchronization partner.
Applies To
Syntax
object.SyncToAlternate [= value]
Part | Description |
---|---|
object | Expression that evaluates to a SQLMerge object. |
value | If set to True, an alternate synchronization partner is used. |
Remarks
To select an alternate synchronization partner, the Publisher, PublisherDatabase, Publication, and Distributor properties of the SQLMerge object should be set to the corresponding property values of an AlternateSyncPartner object before the Run method of the SQLMerge object is called.
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT SyncToAlternate(VARIANT_BOOL pVal);
HRESULT SyncToAlternate(VARIANT_BOOL* pVal);