RegistrationInfo object

Scripting object that provides the administrative information that can be used to describe the task. This information includes details such as a description of the task, the author of the task, the date the task is registered, and the security descriptor of the task.

Members

The RegistrationInfo object has these types of members:

Properties

The RegistrationInfo object has these properties.

Property Access type Description
Author
Read/write
Gets or sets the author of the task.
Date
Read/write
Gets or sets the date and time when the task is registered.
Description
Read/write
Gets or sets the description of the task.
Documentation
Read/write
Gets or sets any additional documentation for the task.
SecurityDescriptor
Gets or sets the security descriptor of the task.
Source
Read/write
Gets or sets where the task originated from. For example, a task may originate from a component, service, application, or user.
URI
Read/write
Gets or sets the URI of the task.
Version
Read/write
Gets or sets the version number of the task.
XmlText
Read/write
Gets or sets an XML-formatted version of the registration information for the task.

Remarks

Registration information can be used to identify a task through the Task Scheduler UI, or as search criteria when enumerating over the registered tasks.

When reading or writing XML for a task, registration information for the task is specified in the RegistrationInfo element of the Task Scheduler schema.

Examples

For more information and example code for this scripting object, see Time Trigger Example (Scripting).

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll