TaskFolder Methods |
The TaskFolder type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateFolder(String, TaskSecurity) |
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
| |
| CreateFolder(String, GenericSecurityDescriptor) | Obsolete.
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
| |
| CreateFolder(String, String, Boolean) |
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
| |
| DeleteFolder |
Deletes a subfolder from the parent folder. Not available to Task Scheduler 1.0.
| |
| DeleteTask | Deletes a task from the folder. | |
| Dispose |
Releases all resources used by this class.
| |
| EnumerateFolders | Returns an enumerable collection of folders that matches a specified filter and recursion option. | |
| EnumerateTasks | Returns an enumerable collection of tasks that matches a specified filter and recursion option. | |
| Equals | Determines whether the specified Object, is equal to this instance. (Overrides ObjectEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAccessControl |
Gets a TaskSecurity object that encapsulates the specified type of access control list (ACL) entries for the task described by the
current TaskFolder object.
| |
| GetAccessControl(AccessControlSections) |
Gets a TaskSecurity object that encapsulates the specified type of access control list (ACL) entries for the task folder described by
the current TaskFolder object.
| |
| GetHashCode | Returns a hash code for this instance. (Overrides ObjectGetHashCode.) | |
| GetSecurityDescriptor | Obsolete. Gets the security descriptor for the folder. Not available to Task Scheduler 1.0. | |
| GetSecurityDescriptorSddlForm |
Gets the security descriptor for the folder. Not available to Task Scheduler 1.0.
| |
| GetTasks |
Gets a collection of all the tasks in the folder whose name matches the optional filter.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ImportTask | Imports a Task from an XML file. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RegisterTask |
Registers (creates) a new task in the folder using XML to define the task.
| |
| RegisterTaskDefinition(String, TaskDefinition) |
Registers (creates) a task in a specified location using a TaskDefinition instance to define a task.
| |
| RegisterTaskDefinition(String, TaskDefinition, TaskCreation, String, String, TaskLogonType, String) |
Registers (creates) a task in a specified location using a TaskDefinition instance to define a task.
| |
| SetAccessControl |
Applies access control list (ACL) entries described by a TaskSecurity object to the file described by the current TaskFolder object.
| |
| SetSecurityDescriptor | Obsolete.
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.
| |
| SetSecurityDescriptorSddlForm |
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.
| |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |