db4o

Defragment.Defrag Method (String)

Renames the file at the given original path to a backup file and then builds a defragmented version of the file in the original place.

public static void Defrag(
   string origPath
);

Parameters

origPath
The path to the file to be defragmented.

Remarks

Renames the file at the given original path to a backup file and then builds a defragmented version of the file in the original place.

Exceptions

Exception Type Condition
IOException if the original file cannot be moved to the backup location

See Also

Defragment Class | Db4objects.Db4o.Defragment Namespace | Defragment.Defrag Overload List