IOfflineFilesSuspend::SuspendRoot method (cscobj.h)
Suspend or release a share root or directory tree. A suspended item is always in the offline state and is excluded from automatic synchronization by Offline Files.
HRESULT SuspendRoot( BOOL bSuspend );
Specify TRUE to suspend, or FALSE to release.
Returns S_OK if successful, or an error value otherwise.
When a share root or directory tree is suspended, all directories and files contained in the share or directory or in any subfolders are suspended as well. This means that both directories and files may be suspended. Note that a directory can be suspended directly (if it is the root of the share or directory tree) or indirectly (if it is one of the items contained in the share or directory tree).
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|