SyncToAlternate-Eigenschaft
Ruft ab oder legt fest, ob es sich bei der Synchronisierung um eine Synchronisierung mit einem alternativen Synchronisierungspartner handelt.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public Overridable Property SyncToAlternate As Boolean
Get
Set
'Usage
Dim instance As MergeSynchronizationAgent
Dim value As Boolean
value = instance.SyncToAlternate
instance.SyncToAlternate = value
public virtual bool SyncToAlternate { get; set; }
public:
virtual property bool SyncToAlternate {
bool get ();
void set (bool value);
}
abstract SyncToAlternate : bool with get, set
override SyncToAlternate : bool with get, set
function get SyncToAlternate () : boolean
function set SyncToAlternate (value : boolean)
Eigenschaftswert
Typ: System. . :: . .Boolean
Ein Boolean-Wert.
Implementiert
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.