IMaintenanceSettings interface (taskschd.h)

Provides the settings that the Task Scheduler uses to perform task during Automatic maintenance.

Inheritance

The IMaintenanceSettings interface inherits from the IDispatch interface.

Methods

The IMaintenanceSettings interface has these methods.

 
IMaintenanceSettings::get_Deadline

Gets or sets the amount of time after which the Task scheduler attempts to run the task during emergency Automatic maintenance, if the task failed to complete during regular Automatic maintenance.
IMaintenanceSettings::get_Exclusive

Indicates whether the Task scheduler must start the task during the Automatic maintenance in exclusive mode.
IMaintenanceSettings::get_Period

Gets or sets the amount of time the task needs to be once executed during regular Automatic maintenance.
IMaintenanceSettings::put_Deadline

Gets or sets the amount of time after which the Task scheduler attempts to run the task during emergency Automatic maintenance, if the task failed to complete during regular Automatic maintenance.
IMaintenanceSettings::put_Exclusive

Indicates whether the Task scheduler must start the task during the Automatic maintenance in exclusive mode.
IMaintenanceSettings::put_Period

Gets or sets the amount of time the task needs to be once executed during regular Automatic maintenance.

Requirements

   
Target Platform Windows
Header taskschd.h

See also

IDispatch