Share via


taskType 複雜類型

定義 Task 元素的子專案和排序資訊。

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

子元素

元素 類型 Description
動作 actionsType 指定工作所執行的動作。
資料 dataType 指定與工作相關聯的新增資料,但工作排程器服務未使用。
Principals principalsType 指定可用來執行工作的安全性內容。
RegistrationInfo registrationInfoType 指定工作的系統管理資訊,例如工作作者和工作註冊的日期。
設定 settingsType 指定工作排程器用來執行工作的設定。
觸發程序 triggersType 指定啟動工作的觸發程式。

屬性

名称 類型 描述
version versionType 指定工作的版本。

規格需求

需求
最低支援的用戶端
Windows Vista [僅限傳統型應用程式]
最低支援的伺服器
Windows Server 2008 [僅限傳統型應用程式]

另請參閱

工作排程器架構複雜類型

工作排程器