API Reference
Class
TaskSchedulerWriter
Writer helpers for creating, updating, and controlling tasks.
Inheritance
- Object
- TaskSchedulerWriter
Methods
public static Boolean Delete(String path, String computer = null, TaskSchedulerOptions options = null) #Returns:
BooleanDeletes a task at the specified path.
Parameters
- path System.String
- computer System.String = null
- options ComputerX.ScheduledTasks.TaskSchedulerOptions = null
public static Boolean Disable(String path, String computer = null, TaskSchedulerOptions options = null) #Returns:
BooleanDisables a task at the specified path.
Parameters
- path System.String
- computer System.String = null
- options ComputerX.ScheduledTasks.TaskSchedulerOptions = null
public static Boolean Enable(String path, String computer = null, TaskSchedulerOptions options = null) #Returns:
BooleanEnables a task at the specified path.
Parameters
- path System.String
- computer System.String = null
- options ComputerX.ScheduledTasks.TaskSchedulerOptions = null
public static Boolean RunNow(String path, String computer = null, TaskSchedulerOptions options = null) #Returns:
BooleanRuns a task immediately.
Parameters
- path System.String
- computer System.String = null
- options ComputerX.ScheduledTasks.TaskSchedulerOptions = null
public static Boolean SetExec(TaskDefinitionSpec spec, String computer = null, TaskSchedulerOptions options = null) #Returns:
BooleanCreates or updates an Exec-based task at Path.
Parameters
- spec ComputerX.ScheduledTasks.TaskDefinitionSpec
- computer System.String = null
- options ComputerX.ScheduledTasks.TaskSchedulerOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object