Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_Connection_iface class

 

ValidateDatabase function

Validates the database on this connection.

Syntax
bool UltraLite_Connection_iface::ValidateDatabase(
  ul_u_short flags,
  ul_validate_callback_fn fn,
  ul_void * user_data,
  const ULValue & table_id
)
Parameters
  • flags   Flags controlling the type of validation

  • fn   Function to receive validation progress information

  • user_data   User data to send back to the caller via the callback

  • table_id   Optionally, a specific table to validate

Returns

False if there were errors during the validation.

Remarks

Depending on the flags passed to this routine, the low level store and/or the indexes can be validated. To receive information during the validation, implement a callback function and pass the address to this routine. To limit the validation to a specific table, pass in the table name or ID as the last parameter.