public sealed class TaskFolder : IDisposable,
IComparable<TaskFolder>
AllTasks | Gets a IEnumeratorT which enumerates all the tasks in this and all subfolders. |
Name | Gets the name that is used to identify the folder that contains a task. |
Parent | Gets the parent folder of this folder. |
Path | Gets the path to where the folder is stored. |
SecurityDescriptor |
Gets or sets the security descriptor of the task.
Obsolete. |
SubFolders | Gets all the subfolders in the folder. |
Tasks | Gets a collection of all the tasks in the folder. |
TaskService | Gets or sets the TaskService that manages this task. |
CreateFolder(String, TaskSecurity) | Creates a folder for related tasks. Not available to Task Scheduler 1.0. |
CreateFolder(String, GenericSecurityDescriptor) |
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
Obsolete. |
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 | Gets the security descriptor for the folder. Not available to Task Scheduler 1.0. Obsolete. |
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 |
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.
Obsolete. |
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) |