Show: Delphi C++
Display Preferences

FireDAC.Phys.ADS.TFDADSUtility.Decrypt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Decrypt;

C++

void __fastcall Decrypt(void);

Properties

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

Description

Decrypts an encrypted table and removes the password.

Use the Decrypt method to decrypt all the rows of an encrypted table, to disable encryption for the table, and to remove the password.

The tables must not be used by any of the processes. The Decrypt method is applicable only to free connections.

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

Example

FDADSUtility1.DriverLink := FDPhysADSDriverLink1;
FDADSUtility1.Database := 'C:\DB;ServerTypes=Local';
FDADSUtility1.Tables.Add('EVENT.DBF');
FDADSUtility1.TableType := ttVFP;
FDADSUtility1.TablePassword := '12345';
FDADSUtility1.Decrypt;

See Also

Personal tools
In Other Languages
Previous Versions
Assistance