Share via


IFileSyncScopeFilter::SetSubDirectoryExcludes

Sets the collection of relative paths of directories to exclude from the scope.

Syntax

HRESULT SetSubDirectoryExcludes(
  LPCWSTR pcszSubDirectoryExcludes);

Parameters

  • pcszSubDirectoryExcludes
    [in, string] A semicolon-delimited list of directories to exclude from the scope. When this value is the empty string, "", no directories are excluded.

Return Value

  • S_OK

Remarks

Wildcards (* and ?) cannot be used in directory paths.

Excluding a directory excludes all files and subdirectories that are contained in that directory.

The paths specified by pcszSubDirectoryExcludes can be absolute or relative. Relative paths are relative to the root directory of the replica as specified in the IFileSyncProvider::Initialize method.

See Also

Reference

IFileSyncScopeFilter Interface