Share via


repetitionType 複合型

繰り返し (triggerBaseType) 要素の子要素とシーケンス情報を定義します。

<xs:complexType name="repetitionType">
    <xs:all>
        <xs:element name="Interval">
            <xs:simpleType>
                <xs:restriction
                    base="duration"
                >
                    <xs:minInclusive
                        value="PT1M"
                     />
                    <xs:maxInclusive
                        value="P31D"
                     />
                </xs:restriction>
            </xs:simpleType>
        </xs:element>
        <xs:element name="Duration"
            minOccurs="0"
        >
            <xs:simpleType>
                <xs:restriction
                    base="duration"
                >
                    <xs:minInclusive
                        value="PT1M"
                     />
                </xs:restriction>
            </xs:simpleType>
        </xs:element>
        <xs:element name="StopAtDurationEnd"
            type="boolean"
            default="false"
            minOccurs="0"
         />
    </xs:all>
</xs:complexType>

子要素

要素 Type 説明
Duration パターンが繰り返される時間を指定します。 値が指定されていない場合、パターンは無期限に繰り返されます。
Interval タスクを再起動するまでの時間を指定します。
StopAtDurationEnd boolean タスクの実行中のインスタンスが、繰り返しパターン期間の終了時に停止されることを指定します。

要件

要件
サポートされている最小のクライアント
Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows Server 2008 [デスクトップ アプリのみ]

関連項目

タスク スケジューラ スキーマの複合型

タスク スケジューラ