SyncToAlternate Property (Replication ActiveX)

The SyncToAlternate property returns or sets whether the synchronization is to an alternate synchronization partner.

Important

The Alternate Synchronization Partners feature for merge replication has been deprecated.

Syntax

object.SyncToAlternate [= value]
Part Description

object

Expression that evaluates to a SQLMerge Object (Replication ActiveX) object.

value

If set to True, an alternate synchronization partner is used.

Applies To

SQLMerge Object (Replication ActiveX)

Remarks

To select an alternate synchronization partner, the Publisher Property (Replication ActiveX), PublisherDatabase Property (Replication ActiveX), Publication Property (Replication ActiveX), and Distributor Property (Replication ActiveX) properties of the SQLMerge Object (Replication ActiveX) object should be set to the corresponding property values of an AlternateSyncPartner object before the Run Method (Replication ActiveX) method is called.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT SyncToAlternate(VARIANT_BOOL pVal);
HRESULT SyncToAlternate(VARIANT_BOOL* pVal);

See Also

Reference

AlternateSyncPartner Object (Replication ActiveX)
AlternateSyncPartners Collection (Replication ActiveX)

Help and Information

Getting SQL Server 2005 Assistance