[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 the given 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, _ backupPath As String _ ) |
C# |
---|
public static void Defrag ( string origPath, string backupPath ) |
Visual C++ |
---|
public: static void Defrag ( String^ origPath, String^ backupPath ) |
Parameters
- origPath
- System.String
The path to the file to be defragmented.
- backupPath
- System.String
The path to the backup file to be created.
Remarks
Renames the file at the given original path to the given 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
|