FireDAC.Phys.ADS.TFDADSRestoreOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TFDADSRestoreOptions = set of (roDontOverwrite, roMetaOnly, roNoWarnings, roCompressedArchive, roForceArchiveExtract);

C++

typedef System::Set<Firedac_Phys_Ads__6, Firedac_Phys_Ads__6::roDontOverwrite, Firedac_Phys_Ads__6::roForceArchiveExtract> TFDADSRestoreOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
public
FireDAC.Phys.ADS.pas
FireDAC.Phys.ADS.hpp
FireDAC.Phys.ADS FireDAC.Phys.ADS

Description

Specifies the type of the restore options.

TFDADSRestoreOptions can have one of the following values:

Value Meaning

roDontOverwrite

Use it if you do not want to overwrite the existing tables. Instead, a warning will be logged to Results.

roMetaOnly

Use it if you only want to restore the data dictionary file.

roNoWarnings

By default, the restore operation will log entries to the error log for information purposes. Use it if you want to supress the warning logging to Results.

roCompressedArchive

Use it to restore a database from a backup that was done using the boCompressArchive backup option

roForceArchiveExtract

Use it when restoring files using the ArchiveFile property. It controls the behavior when extracting a file from the archive that already exists on disk:

  • Default behaviour: the file is not overwritten.
  • Using this option: the file on disk is overwritten with the file from the archive.

See Also