|
|
|
|
<Connection variable>.DeleteScheduling (Function) In french: <Variable Connexion>.SupprimePlanification
Available only with this kind of connection
Deletes a scheduled task found on an HFSQL server: - stored procedure,
- backup,
- optimization,
- refresh of materialized view.
ctMyDatabase is Connection  // Delete all scheduled backups arrBckDesc is array dynamic of hBackupDescription arrBckDesc = ctMyDatabase.ListScheduling(hlpBackup) hBckDesc is hBackupDescription FOR EACH hBckDesc OF arrBckDesc IF Position(hBckDesc.Source, ctMyDatabase.Database, 0, IgnoreCase) > 0 THEN ctMyDatabase.DeleteScheduling(hBckDesc) END END
Syntax
Deleting a scheduled task Hide the details
<Result> = <Connection>.DeleteScheduling(<Scheduled task>)
<Result>: Boolean - True if the scheduled task 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 a scheduled task must be deleted. <Scheduled task>: hScheduledTask variable Name of hScheduledTask variable describing the task that triggers a stored procedure.
Deleting a scheduled optimization task Hide the details
<Result> = <Connection>.DeleteScheduling(<Scheduled optimization task>)
<Result>: Boolean - True if the scheduled optimization task 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 a scheduled optimization task must be deleted. <Scheduled optimization task>: hScheduledOptimization variable Name of the hScheduledOptimization variable used.
Deleting a backup scheduling Hide the details
<Result> = <Connection>.DeleteScheduling(<Scheduled backup>)
<Result>: Boolean - True if the scheduled backup was deleted,
- False otherwise.
<Connection>: Connection variable Name of the Connection variable that describes the connection for which a scheduled backup must be deleted. <Scheduled backup>: hBackupDescription variable Name of the hBackupDescription variable used.
Deleting a scheduling for refreshing a materialized view Hide the details
<Result> = <Connection>.DeleteScheduling(<Materialized view>)
<Result>: Boolean - True if the scheduling has been deleted,
- False otherwise.
<Connection>: Connection variable Name of the Connection variable that describes the connection for which a materialized view refresh scheduling must be deleted. <Materialized view>: hScheduleMaterializedView variable Name of the hScheduleMaterializedView variable containing the description of the materialized views to refresh.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|