Compartir a través de


SyncToAlternate Property (Replication ActiveX)

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

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

Sintaxis

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)

Notas

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

Vea también

Referencia

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

Ayuda e información

Obtener ayuda sobre SQL Server 2005