SyncOptions.DiscardLocalChanges Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
True, if existing local changes are discarded; otherwise, false.
The default behavior is that existence of local changes prevents the synchronization operation and cause an error.