FireDAC.Phys.ASA.TFDASAValidate

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.ASA.TFDASAServiceFireDAC.Phys.ODBCBase.TFDPhysODBCBaseServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentTFDASAValidate
[–] Properties
Type: class
Visibility: public
Source:
FireDAC.Phys.ASA.pas
FireDAC.Phys.ASA.hpp
Unit: FireDAC.Phys.ASA
Parent: FireDAC.Phys.ASA

Delphi

TFDASAValidate = class (TFDASAService)

C++

class PASCALIMPLEMENTATION TFDASAValidate : public TFDASAService

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