IRegistrationInfo interface (taskschd.h)

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.

Inheritance

The IRegistrationInfo interface inherits from the IDispatch interface.

Methods

The IRegistrationInfo interface has these methods.

 
IRegistrationInfo::get_Author

Gets or sets the author of the task. (Get)
IRegistrationInfo::get_Date

Gets or sets the date and time when the task is registered. (Get)
IRegistrationInfo::get_Description

Gets or sets the description of the task. (Get)
IRegistrationInfo::get_Documentation

Gets or sets any additional documentation for the task. (Get)
IRegistrationInfo::get_SecurityDescriptor

Gets or sets the security descriptor of the task. (Get)
IRegistrationInfo::get_Source

Gets or sets where the task originated from. For example, a task may originate from a component, service, application, or user. (Get)
IRegistrationInfo::get_URI

Gets or sets the URI of the task. (Get)
IRegistrationInfo::get_Version

Gets or sets the version number of the task. (Get)
IRegistrationInfo::get_XmlText

Gets or sets an XML-formatted version of the registration information for the task. (Get)
IRegistrationInfo::put_Author

Gets or sets the author of the task. (Put)
IRegistrationInfo::put_Date

Gets or sets the date and time when the task is registered. (Put)
IRegistrationInfo::put_Description

Gets or sets the description of the task. (Put)
IRegistrationInfo::put_Documentation

Gets or sets any additional documentation for the task. (Put)
IRegistrationInfo::put_SecurityDescriptor

Gets or sets the security descriptor of the task. (Put)
IRegistrationInfo::put_Source

Gets or sets where the task originated from. For example, a task may originate from a component, service, application, or user. (Put)
IRegistrationInfo::put_URI

Gets or sets the URI of the task. (Put)
IRegistrationInfo::put_Version

Gets or sets the version number of the task. (Put)
IRegistrationInfo::put_XmlText

Gets or sets an XML-formatted version of the registration information for the task. (Put)

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 interface, see Time Trigger Example (C++).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h

See also

Task Scheduler

Task Scheduler Interfaces