FireDAC.Phys.ADS.TFDADSUtility.Reindex

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Phys.ADS.pas
FireDAC.Phys.ADS.hpp
Unit: FireDAC.Phys.ADS
Parent: TFDADSUtility

Delphi

procedure Reindex;

C++

void __fastcall Reindex();

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