Поделиться через


SyncToAlternate Property (Replication ActiveX)

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

ms147916.note(ru-ru,SQL.90).gifВажно!
The Alternate Synchronization Partners feature for merge replication has been deprecated.

Синтаксис

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)

Замечания

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

См. также

Справочник

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

Справка и поддержка

Получение помощи по SQL Server 2005