Task |
The TaskService type exposes the following members.
| Name | Description | |
|---|---|---|
| AllowReadOnlyTasks | Gets or sets a value indicating whether to allow tasks from later OS versions with new properties to be retrieved as read only tasks. | |
| AllTasks | Gets a IEnumeratorT which enumerates all the tasks in all folders. | |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Overrides ComponentCanRaiseEvents) | |
| Connected | Gets a Boolean value that indicates if you are connected to the Task Scheduler service. | |
| ConnectedDomain | Obsolete. Gets the name of the domain to which the TargetServer computer is connected. | |
| ConnectedUser | Obsolete. Gets the name of the user that is connected to the Task Scheduler service. | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component) | |
| HighestSupportedVersion | Gets the highest version of Task Scheduler that a computer supports. | |
| Instance | Gets a local instance of the TaskService using the current user's credentials. | |
| LibraryVersion | Gets the library version. This is the highest version supported by the local library. Tasks cannot be created using any compatibility level higher than this version. | |
| RootFolder | Gets the root ("\") folder. For Task Scheduler 1.0, this is the only folder. | |
| Site | Gets or sets the ISite of the Component. (Inherited from Component) | |
| TargetServer | Gets or sets the name of the computer that is running the Task Scheduler service that the user is connected to. | |
| Token | Gets the connection token for this TaskService instance. This token is thread safe and can be used to create new TaskService instances on other threads using the CreateFromToken(TaskServiceConnectionToken) static method. | |
| UserAccountDomain | Gets or sets the user account domain to be used when connecting to the TargetServer. | |
| UserName | Gets or sets the user name to be used when connecting to the TargetServer. | |
| UserPassword | Gets or sets the user password to be used when connecting to the TargetServer. |