Write the key/data pairs from all databases in the file to
Out. Key values are written for Btree, Hash
and Queue databases, but not for Recno databases.
Namespace:
BerkeleyDBAssembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0
Syntax
C# |
---|
public static void Salvage( string file, DatabaseConfig cfg ) |
Visual Basic (Declaration) |
---|
Public Shared Sub Salvage ( _ file As String, _ cfg As DatabaseConfig _ ) |
Visual C++ |
---|
public: static void Salvage( String^ file, DatabaseConfig^ cfg ) |
Parameters
- file
- Type: System..::.String
The physical file in which the databases to be salvaged are found.
- cfg
- Type: BerkeleyDB..::.DatabaseConfig
Configuration parameters for the databases to be salvaged.