FireDAC.Phys.ADS.TFDADSUtility.Reindex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Reindex;

C++

void __fastcall Reindex();

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Phys.ADS.pas
FireDAC.Phys.ADS.hpp
FireDAC.Phys.ADS TFDADSUtility

Description

Rebuilds all the open indexes associated with the given table.

Use the Reindex method to rebuild all the open indexes associated with the given table. The tables must not be used by any of the processes.

The Tables property specifies the list of tables to process. The TableType property specifies the type of the tables. The TablePassword property is optional and it specifies the table password.

Example

FDADSUtility1.DriverLink := FDPhysADSDriverLink1;
FDADSUtility1.Database := '\\DA\ADS_DB';
FDADSUtility1.Tables.Add('ORDERS');
FDADSUtility1.Tables.Add('ORDERS DETAILS');
FDADSUtility1.Reindex;

See Also