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 propertyAllTasks
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Overrides ComponentCanRaiseEvents.)
Public propertyConnected
Gets a Boolean value that indicates if you are connected to the Task Scheduler service.
Public propertyConnectedDomain Obsolete.
Gets the name of the domain to which the TargetServer computer is connected.
Public propertyConnectedUser Obsolete.
Gets the name of the user that is connected to the Task Scheduler service.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyHighestSupportedVersion
Gets the highest version of Task Scheduler that a computer supports.
Public propertyStatic memberInstance
Gets 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 propertyRootFolder
Gets the root ("\") folder. For Task Scheduler 1.0, this is the only folder.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTargetServer
Gets 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 propertyUserAccountDomain
Gets or sets the user account domain to be used when connecting to the TargetServer.
Public propertyUserName
Gets or sets the user name to be used when connecting to the TargetServer.
Public propertyUserPassword
Gets or sets the user password to be used when connecting to the TargetServer.
Top
See Also