Summary
Renames the file at the configured original path to the configured backup
path and then builds a defragmented version of the file in the original
place.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Defragment - Containing Type
- Defragment
Syntax
public static void Defrag(DefragmentConfig config, IDefragmentListener listener)
Remarks
Renames the file at the configured original path to the configured backup
path and then builds a defragmented version of the file in the original
place.
Parameters
Name | Type | Description |
---|---|---|
config | DefragmentConfig | The configuration for this defragmentation run. |
listener | IDefragmentListener | A listener for status notifications during the defragmentation process. |
Return Value
Type | Description |
---|---|
void |