FileSyncProvider::PreviewMode Property
Gets or sets a value that indicates whether the provider is in preview mode.
Assembly: Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | The object has been disposed or was not property initialized. |
If the provider is in preview mode, all synchronization actions will be performed as if for an actual synchronization session; however, no changes will be applied. This means that progress notifications will still be sent out for changes that would have been applied and change detection will be performed. Because of this, using preview mode could potentially be an expensive operation.
For information about how to use preview mode to show incremental synchronization progress to the user, see Reporting File Synchronization Progress.
Show: