FireDAC.Stan.Option.TFDResourceOptions.Backup
Delphi
property Backup: Boolean read GetBackup write SetBackup
C++
__property bool Backup = {read=GetBackup, write=SetBackup, stored=IsBS, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDResourceOptions |
Description
Controls the backup of data files for persistent datasets.
Use the Backup property to control whether persistent datasets should back up the data file before overwriting it. If the property is True, then a backup copy of the data file will be created. By default, it is False.
The backup copy file gets the same base file name as specified by the PersistentFileName, BackupExt extension, and it will be included in the BackupFolder folder.