URI (registrationInfoType) Element

Specifies the URI of the task. This element is used to specify where the registered task is placed in the task folder hierarchy.

<xs:element name="URI"
    type="anyURI"
    minOccurs="0"
 />

The URI element is defined by the registrationInfoType complex type.

Parent element

Element Derived from Description
RegistrationInfo registrationInfoType Specifies administrative information about the task, such as the author of the task and the date the task is registered.

Remarks

For scripting development, the URI of the task is specified using the RegistrationInfo.URI property.

For C++ development, the URI of the task is specified using the IRegistrationInfo::URI property.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

Task Scheduler