triggerBaseType Complex Type

Defines the attribute, base child elements, and sequencing information for all trigger complex types.

<xs:complexType name="triggerBaseType"
    abstract="true"
>
    <xs:sequence>
        <xs:element name="Enabled"
            type="boolean"
            default="true"
            minOccurs="0"
         />
        <xs:element name="StartBoundary"
            type="dateTime"
            minOccurs="0"
         />
        <xs:element name="EndBoundary"
            type="dateTime"
            minOccurs="0"
         />
        <xs:element name="Repetition"
            type="repetitionType"
            minOccurs="0"
         />
        <xs:element name="ExecutionTimeLimit"
            type="duration"
            minOccurs="0"
         />
    </xs:sequence>
    <xs:attribute name="id"
        type="ID"
        use="optional"
     />
</xs:complexType>

Child elements

Element Type Description
Enabled boolean Specifies that the trigger is enabled.
EndBoundary dateTime The date and time when the trigger is deactivated.
ExecutionTimeLimit duration Specifies the interval when the trigger can start the task.
Repetition repetitionType Specifies how often the task is run and how long the repetition pattern is repeated once the trigger fires.
StartBoundary dateTime The date and time when the trigger is activated.

Attributes

Name Type Description
id ID Identifier of the trigger.

Remarks

Trigger complex types include the following.

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