ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Necessary rights
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 has been deleted,
  • 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 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.
  • or be a super-user.
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