MergeSynchronizationAgent.SyncToAlternate Property
Gets or sets whether the synchronization is to an alternate synchronization partner.
Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
Syntaxe
'Déclaration
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)
Valeur de propriété
A Boolean value.
Notes
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.
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace