VDatabase Class: Utility Methods
VDatabase Class.Diagnose()
Declaration:
Diagnose( inVerboseLevel as EVVerboseLevel = kNone inFile as FolderItem = nil ) as Boolean
Parameters:
- inVerboseLevel - Specifies how many information to write into diagnose.
- inFile - Location on disk of diagnose file.
Description:
Executes the diagnose of an open database. Returns TRUE if the database is fine.
To produce a diagnose file you can specify its location on the disk.
Parameter inVerboseLevel can accept the following values:
- kNone = 0
- kLow = 1
- kNormal = 2
- kHigh = 3
- kVeryHigh = 4
Example:
res = db.Diagnose( kVeryHigh )