Performs low level and index validation on a database.
public static bool ValidateDatabase( const char * connParms, ul_u_short flags, ul_validate_callback_fn fn, void * userData, ULError * error )
connParms The parameters used to connect to the database.
flags The flags controlling the type of validation; see the example below.
fn A function to receive validation progress information.
userData The user data to send back to the caller via the callback.
error An optional ULError object to receive error information.
True if the validation succeeds; otherwise, returns false.
The flags parameter is combination of the following values:
ULVF_TABLE
ULVF_INDEX
ULVF_DATABASE
ULVF_EXPRESS
ULVF_FULL_VALIDATE
The following example demonstrates table and index validation in express mode:
flags = ULVF_TABLE | ULVF_INDEX | ULVF_EXPRESS;