AnyDAC
ContentsIndexHome
PreviousUpNext
TADIBValidate Class

The class implementing FB/IB database validate and repair service.

Group
Class Hierarchy
uADPhysIB_TADIBValidateuADPhysIB_TADIBValidateuADPhysIB_TADIBValidate
File

uADPhysIB

Links

Use the TADIBValidate component to add a database validate and repair capability to an application. This is a programmatic method to invoke the gfix tool as a thread in the DB server process. 

To validate and or repair a database an application should:

To produce a DB validate or repair log an application should use OnProgress event.

TADIBValidate = class(TADIBService);
ADIBValidate1.DriverLink := ADPhysIBDriverLink1;

ADIBValidate1.UserName := 'sysdba';
ADIBValidate1.Password := 'masterkey';
ADIBValidate1.Host := 'db_srv_host';
ADIBValidate1.Protocol := ipTCPIP;

ADIBValidate1.Database := 'e:\ib\addemo.fdb';

ADIBValidate1.Repair;
What do you think about this topic? Send feedback!