PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Modifies a scheduled task on an HFSQL server:
  • stored procedure,
  • backup,
  • optimization,
  • refresh of materialized view.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Description de la connexion
MaConnexionBase is Connection
 
// Suppression de toutes les sauvegardes planifiées
tabDescSvg is array dynamic of hBackupDescription
tabDescSvg = HListScheduling(MaConnexionBase, hlpBackup)
hDescSvg is hBackupDescription
FOR EACH hDescSvg OF tabDescSvg
IF hDescSvg.LimitNumberBackups = 3 THEN
hDescSvg.LimitNumberBackups = 5
HModifyScheduling(MaConnexionBase, hDescSvg)
END
END
Syntax

Modifying a scheduled task Hide the details

<Result> = HModifyScheduling(<Connection> , <Scheduled task>)
<Result>: Boolean
  • True if the scheduled task was modified,
  • False if an error occurred. HErrorInfo is used to identify the error.
<Connection>: Character string or Connection variable
Connection for which a scheduled task must be modified. This connection corresponds to:
<Scheduled task>: hScheduledTask variable
Name of hScheduledTask variable describing the task that triggers a stored procedure.

Modifying a scheduled optimization task Hide the details

<Result> = HModifyScheduling(<Connection> , <Scheduled optimization task>)
<Result>: Boolean
  • True if the scheduled optimization task was modified
  • False if an error occurred. HErrorInfo is used to identify the error.
<Connection>: Character string or Connection variable
Connection for which a scheduled optimization task must be modified. This connection corresponds to:
<Scheduled optimization task>: hScheduledOptimization variable
Name of the Variable of type hScheduledOptimization handled.

Modifying a backup scheduling Hide the details

<Result> = HModifyScheduling(<Connection> , <Scheduled backup>)
<Result>: Boolean
  • True if the scheduled backup was modified,
  • False otherwise.
<Connection>: Character string or Connection variable
Connection for which a scheduled backup must be modified. This connection corresponds to:
<Scheduled backup>: hBackupDescription variable
Name of the hBackupDescription variable used.

Modifying a scheduling for refreshing a materialized view Hide the details

<Result> = HModifyScheduling(<Connection> , <Materialized view>)
<Result>: Boolean
  • True if the scheduling was modified,
  • False otherwise.
<Connection>: Character string or Connection variable
Connection for which a materialized view refresh scheduling must be modified. This connection corresponds to:
<Materialized view>: hScheduleMaterializedView variable
Name of the hScheduleMaterializedView variable containing the description of the materialized views to refresh.
Component: wd270hf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment