[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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 _
)
C#
public static void Defrag (
	DefragmentConfig config
)
Visual C++
public:
static void Defrag (
	DefragmentConfig^ config
)

Parameters

config
Db4objects.Db4o.Defragment.DefragmentConfig
The configuration for this defragmentation run.

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

ExceptionCondition
System.IO.IOExceptionif the original file cannot be moved to the backup location