Share via


MergeSynchronizationAgent.SyncToAlternate Property

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

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
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)

Property Value

A Boolean value.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace