FireDAC.Phys.ASA.TFDASAValidate

From RAD Studio API Documentation

Error: Image is invalid or non-existent.

Delphi

TFDASAValidate = class (TFDASAService)

C++

class PASCALIMPLEMENTATION TFDASAValidate : public TFDASAService

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.ASA.pas
FireDAC.Phys.ASA.hpp
FireDAC.Phys.ASA FireDAC.Phys.ASA

Description

The class implementing the SQL Anywhere database validation service.

Use the TFDASAValidate component to add a database validation capability to an application. This is a programmatic method to invoke the dbvalid tool as a thread in the DB server process. 

To validate or repair a database, an application should do the following:

To produce a DB validation log, an application should use the OnProgress event.

Example

FDASAValidate1.DriverLink := FDPhysASADriverLink1;
FDASAValidate1.ConnectParams := 'ENG=addemo_asa11;DBN=addemo_asa11;UID=DBA;PWD=sql';
FDASAValidate1.ValidateType := vtNormal;
FDASAValidate1.Flags := [];
FDASAValidate1.OnProgress := FDASABackup1Progress;
FDASAValidate1.Validate;

See Also