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. (Get)
IMaintenanceSettings::get_Exclusive

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

Gets or sets the amount of time the task needs to be once executed during regular Automatic maintenance. (Get)
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. (Put)
IMaintenanceSettings::put_Exclusive

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

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

Requirements

Requirement Value
Target Platform Windows
Header taskschd.h

See also

IDispatch