Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 220.127.116.11
public static void Verify( string file, DatabaseConfig cfg, Database..::.VerifyOperation op )
|Visual Basic (Declaration)|
Public Shared Sub Verify ( _ file As String, _ cfg As DatabaseConfig, _ op As Database..::.VerifyOperation _ )
public: static void Verify( String^ file, DatabaseConfig^ cfg, Database..::.VerifyOperation op )
Berkeley DB normally verifies that btree keys and duplicate items are correctly sorted, and hash keys are correctly hashed. If the file being verified contains multiple databases using differing sorting or hashing algorithms, some of them must necessarily fail database verification because only one sort order or hash function can be specified in cfg. To verify files with multiple databases having differing sorting orders or hashing functions, first perform verification of the file as a whole by using NO_ORDER_CHECK, and then individually verify the sort order and hashing function for each database in the file using ORDER_CHECK_ONLY.