ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Necessary rights
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes a scheduled backup from an HFSQL Client/Server server.
Example
ctMyDatabase is Connection
 
// Delete all scheduled backups
arrBckDesc is array dynamic of hBackupDescription
arrBckDesc = ctMyDatabase.ListScheduledBackup()
hBckDesc is hBackupDescription
FOR EACH hBckDesc OF arrBckDesc
IF Position(hBckDesc.Source, ctMyDatabase.Database, 0, IgnoreCase) > 0 THEN
ctMyDatabase.DeleteScheduledBackup(hBckDesc.Identifier)
END
END
Syntax
<Result> = <Connection>.DeleteScheduledBackup(<Scheduled backup>)
<Result>: Boolean
  • True if the scheduled backup was deleted,
  • False if an error occurred. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which the scheduled backup must be deleted.
<Scheduled backup>: Integer
Identifier of the scheduled backup to delete.
Remarks

Necessary rights

To have the rights to delete a scheduled backup, you must:
  • be the owner of the scheduled backup.
  • be super-user.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help