Click or drag to resize
Task Scheduler Managed Class Library

TaskService Properties

The TaskService type exposes the following members.

Properties
 NameDescription
Public propertyAllowReadOnlyTasks Gets or sets a value indicating whether to allow tasks from later OS versions with new properties to be retrieved as read only tasks.
Public propertyAllTasksGets a IEnumeratorT which enumerates all the tasks in all folders.
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event.
(Overrides ComponentCanRaiseEvents)
Public propertyConnectedGets a Boolean value that indicates if you are connected to the Task Scheduler service.
Public propertyConnectedDomainObsolete.
Gets the name of the domain to which the TargetServer computer is connected.
Public propertyConnectedUserObsolete.
Gets the name of the user that is connected to the Task Scheduler service.
Public propertyContainerGets the IContainer that contains the Component.
(Inherited from Component)
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Protected propertyEventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
Public propertyHighestSupportedVersionGets the highest version of Task Scheduler that a computer supports.
Public propertyStatic memberInstanceGets a local instance of the TaskService using the current user's credentials.
Public propertyStatic memberLibraryVersion 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.
Public propertyRootFolderGets the root ("\") folder. For Task Scheduler 1.0, this is the only folder.
Public propertySiteGets or sets the ISite of the Component.
(Inherited from Component)
Public propertyTargetServerGets or sets the name of the computer that is running the Task Scheduler service that the user is connected to.
Public propertyToken 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.
Public propertyUserAccountDomainGets or sets the user account domain to be used when connecting to the TargetServer.
Public propertyUserNameGets or sets the user name to be used when connecting to the TargetServer.
Public propertyUserPasswordGets or sets the user password to be used when connecting to the TargetServer.
Top
See Also