Muokkaa

Jaa


taskType Complex Type

Defines the child elements and sequencing information for the Task element.

<xs:complexType name="taskType">
    <xs:all>
        <xs:element name="RegistrationInfo"
            type="registrationInfoType"
            minOccurs="0"
         />
        <xs:element name="Triggers"
            type="triggersType"
            minOccurs="0"
         />
        <xs:element name="Settings"
            type="settingsType"
            minOccurs="0"
         />
        <xs:element name="Data"
            type="dataType"
            minOccurs="0"
         />
        <xs:element name="Principals"
            type="principalsType"
            minOccurs="0"
         />
        <xs:element name="Actions"
            type="actionsType"
         />
    </xs:all>
    <xs:attribute name="version"
        type="versionType"
        use="optional"
        fixed="1.3"
     />
</xs:complexType>

Child elements

Element Type Description
Actions actionsType Specifies the actions performed by the task.
Data dataType Specifies addition data that is associated with the task, but is otherwise unused by the Task Scheduler service.
Principals principalsType Specifies the security contexts that can be used to run the task.
RegistrationInfo registrationInfoType Specifies administrative information about the task, such as the author of the task and the date the task is registered.
Settings settingsType Specifies the settings that the Task Scheduler uses to perform the task.
Triggers triggersType Specifies the triggers that start the task.

Attributes

Name Type Description
version versionType Specifies the version of the task.

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 Complex Types

Task Scheduler