Windows Dev Center

IRegistrationInfo interface

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 IRegistrationInfo interface inherits from the IDispatch interface. IRegistrationInfo also has these types of members:

Properties

The IRegistrationInfo interface has these properties.

PropertyAccess typeDescription

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

Read/write

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

Task Scheduler Interfaces
Task Scheduler

 

 

Community Additions

ADD
Show:
© 2015 Microsoft