[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 given original path to a backup file 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 ( _ origPath As String _ ) |
| C# |
|---|
public static void Defrag ( string origPath ) |
| Visual C++ |
|---|
public: static void Defrag ( String^ origPath ) |
Parameters
- origPath
- System.String
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 | Condition |
|---|---|
| System.IO.IOException | if the original file cannot be moved to the backup location
|