Compartir a través de


MergeSynchronizationAgent.SyncToAlternate Property

Gets or sets whether the synchronization is to an alternate synchronization partner.

Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Sintaxis

'Declaración
Public Overridable Property SyncToAlternate As Boolean
public virtual bool SyncToAlternate { get; set; }
public:
virtual property bool SyncToAlternate {
    bool get ();
    void set (bool newValue);
}
/** @property */
public boolean get_SyncToAlternate ()

/** @property */
public void set_SyncToAlternate (boolean newValue)
public function get SyncToAlternate () : boolean

public function set SyncToAlternate (newValue : boolean)

Valor de propiedad

A Boolean value.

Notas

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

To select an alternate synchronization partner, the Publisher, PublisherDatabase, Publication, and Distributor properties should be set to the corresponding property values of an instance of the AlternateSynchronizationPartner class before the Synchronize method is called.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace