[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
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.
Namespace: Db4objects.Db4o.Defragment
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub Defrag ( _ config As DefragmentConfig, _ listener As IDefragmentListener _ ) |
C# |
---|
public static void Defrag ( DefragmentConfig config, IDefragmentListener listener ) |
Visual C++ |
---|
public: static void Defrag ( DefragmentConfig^ config, IDefragmentListener^ listener ) |
Parameters
- config
- Db4objects.Db4o.Defragment.DefragmentConfig
The configuration for this defragmentation run.
- listener
- Db4objects.Db4o.Defragment.IDefragmentListener
A listener for status notifications during the defragmentation process.
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.
Exceptions
Exception | Condition |
---|---|
System.IO.IOException | if the original file cannot be moved to the backup location
|