Condividi tramite


SyncToAlternate Property (Replication ActiveX)

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

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

Sintassi

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)

Osservazioni

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

Vedere anche

Riferimento

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

Guida in linea e informazioni

Assistenza su SQL Server 2005