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.
IRegistrationInfo::get_Date

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

Gets or sets the description of the task.
IRegistrationInfo::get_Documentation

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

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

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

Gets or sets the URI of the task.
IRegistrationInfo::get_Version

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

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

Gets or sets the author of the task.
IRegistrationInfo::put_Date

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

Gets or sets the description of the task.
IRegistrationInfo::put_Documentation

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

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

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

Gets or sets the URI of the task.
IRegistrationInfo::put_Version

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

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

Requirements

   
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