Click or drag to resize
Task Scheduler Managed Class Library

TaskFolder Methods

The TaskFolder type exposes the following members.

Methods
  NameDescription
Public methodCreateFolder(String, TaskSecurity)
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
Public methodCreateFolder(String, GenericSecurityDescriptor) Obsolete.
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
Public methodCreateFolder(String, String, Boolean)
Creates a folder for related tasks. Not available to Task Scheduler 1.0.
Public methodDeleteFolder
Deletes a subfolder from the parent folder. Not available to Task Scheduler 1.0.
Public methodDeleteTask
Deletes a task from the folder.
Public methodDispose
Releases all resources used by this class.
Public methodEnumerateFolders
Returns an enumerable collection of folders that matches a specified filter and recursion option.
Public methodEnumerateTasks
Returns an enumerable collection of tasks that matches a specified filter and recursion option.
Public methodEquals
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAccessControl
Gets a TaskSecurity object that encapsulates the specified type of access control list (ACL) entries for the task described by the current TaskFolder object.
Public methodGetAccessControl(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.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetSecurityDescriptor Obsolete.
Gets the security descriptor for the folder. Not available to Task Scheduler 1.0.
Public methodGetSecurityDescriptorSddlForm
Gets the security descriptor for the folder. Not available to Task Scheduler 1.0.
Public methodGetTasks
Gets a collection of all the tasks in the folder whose name matches the optional filter.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportTask
Imports a Task from an XML file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleRegisterTask
Registers (creates) a new task in the folder using XML to define the task.
Public methodCode exampleRegisterTaskDefinition(String, TaskDefinition)
Registers (creates) a task in a specified location using a TaskDefinition instance to define a task.
Public methodCode exampleRegisterTaskDefinition(String, TaskDefinition, TaskCreation, String, String, TaskLogonType, String)
Registers (creates) a task in a specified location using a TaskDefinition instance to define a task.
Public methodSetAccessControl
Applies access control list (ACL) entries described by a TaskSecurity object to the file described by the current TaskFolder object.
Public methodSetSecurityDescriptor Obsolete.
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.
Public methodSetSecurityDescriptorSddlForm
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also