Freigeben über


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)

Eigenschaftswert

A Boolean value.

Hinweise

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.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace