Trait winsafe::prelude::taskschd_ITaskService

source ·
pub trait taskschd_ITaskService: oleaut_IDispatch {
    // Provided methods
    fn Connect(
        &self,
        server_name: Option<&str>,
        user: Option<&str>,
        domain: Option<&str>,
        password: Option<&str>
    ) -> HrResult<()> { ... }
    fn get_Connected(&self) -> HrResult<bool> { ... }
    fn get_ConnectedDomain(&self) -> HrResult<String> { ... }
    fn get_ConnectedUser(&self) -> HrResult<String> { ... }
    fn get_HighestVersion(&self) -> HrResult<u32> { ... }
    fn get_TargetServer(&self) -> HrResult<String> { ... }
    fn GetFolder(&self, path: &str) -> HrResult<ITaskFolder> { ... }
    fn NewTask(&self) -> HrResult<ITaskDefinition> { ... }
}
Available on crate features kernel and taskschd only.
Expand description

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

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§