Click or drag to resize

OnDemandLocalFileSystemDehydrateOnDemandEntry Method

Dehydrates an On-Demand file by removing ('Free up space') its content on-disk.

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public virtual int DehydrateOnDemandEntry(
	string localRelativePath,
	bool throwOnError = true
)

Parameters

localRelativePath
Type: SystemString
The local relative directory path.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptionlocalRelativePath is null.
ArgumentExceptionlocalRelativePath is a rooted path.
See Also