Version (registrationInfoType) Element

Specifies the version number of the task.

<xs:element name="Version"
    type="string"
    minOccurs="0"
 />

The Version 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 version of a task is specified using RegistrationInfo.Version property.

For C++ development, the version of a task is specified using IRegistrationInfo::Version property.

Examples

The following XML defines the version of a task.

<RegistrationInfo>
    <Version></Version>
 </RegistrationInfo>

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