Partager via


SyncToAlternate Property (Replication ActiveX)

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

ms147916.note(fr-fr,SQL.90).gifImportant :
The Alternate Synchronization Partners feature for merge replication has been deprecated.

Syntaxe

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)

Notes

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);

Voir aussi

Référence

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

Aide et Informations

Assistance sur SQL Server 2005