FileSyncProvider::ScopeFilter Property
Gets the static scope filter that specifies which files or directories in the local file store are included in the scope.
Assembly: Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)
Property Value
Type: Microsoft.Synchronization.Files::FileSyncScopeFilterThe static scope filter that specifies which files or directories in the local file store are included in the scope. The default value is a nullptr.
The scope filter can be used to exclude a list of file names, exclude a list of subfolders, exclude files and folders based on their attributes, and explicitly include a list of file names.
The same filter should be used on both the source and destination providers, or unexpected results might occur.
The filter should be set the first time synchronization is performed and should remain the same in all subsequent synchronization sessions, or unexpected results might occur.
For more information about how to use the static scope filter, see Controlling Which Files Are Synchronized.
Show: