AnyDAC
ContentsIndexHome
PreviousUpNext
TADSQLiteValidate.CheckOnly Method

Starts the read-only validate database task.

Group
Links

Use the CheckOnly method to start the read-only validate database task. 

To perform a validation task an application must specify the connection parameters and Database. This is a programmatic method to invoke the PRAGMA integrity_check command. CheckOnly method returns True, when database has no errors or warning, otherwise - False. To receive the found issues use the OnProgress event handler.

function CheckOnly: Boolean;
What do you think about this topic? Send feedback!