Trait winsafe::prelude::taskschd_ITaskFolder

source ·
pub trait taskschd_ITaskFolder: oleaut_IDispatch {
    // Provided methods
    fn DeleteTask(&self, name: &str) -> HrResult<()> { ... }
    fn get_Name(&self) -> HrResult<String> { ... }
    fn get_Path(&self) -> HrResult<String> { ... }
    fn RegisterTaskDefinition(
        &self,
        path: Option<&str>,
        definition: &impl taskschd_ITaskDefinition,
        flags: TASK_CREATION,
        user_id: Option<&str>,
        password: Option<&str>,
        logon_type: TASK_LOGON,
        sddl: Option<VARIANT>
    ) -> HrResult<IRegisteredTask> { ... }
}
Available on crate features kernel and taskschd only.
Expand description

This trait is enabled with the taskschd feature, and provides methods for ITaskFolder.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§