ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes a backup previously created with <Connection variable>.Backup. The backup is physically deleted from the disk.
Syntax
<Result> = <Connection>.DeleteBackup(<Backup to delete>)
<Result>: Boolean
  • True if deleted successfully,
  • False if an error occurs. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which the backup must be deleted.
<Backup to delete>: Integer
Identifier of the backup to delete. This identifier is returned by <Connection variable>.Backup or <Connection variable>.InfoBackup.
Remarks
  • If the backup is being created when <Connection variable>.DeleteBackup is called, it is canceled and then deleted.
  • To be able to delete a backup, the user must be a superuser or have the right to backup (constant hSaveRight).
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/17/2024

Send a report | Local help