Freigeben über


SyncOptions.DiscardLocalChanges Property

Definition

An indication to discard local changes on the model, if exists, as part of synchronizing it.

public bool DiscardLocalChanges { get; set; }
member this.DiscardLocalChanges : bool with get, set
Public Property DiscardLocalChanges As Boolean

Property Value

True, if existing local changes are discarded; otherwise, false.

Remarks

The default behavior is that existence of local changes prevents the synchronization operation and cause an error.

Applies to