すべてのトリガー複合型の属性、基本子要素、シーケンス情報を定義します。
<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>
子要素
| 要素 | Type | 説明 |
|---|---|---|
| 有効 | boolean | トリガーを使用できるようにします。 |
| EndBoundary | dateTime | トリガーが非アクティブ化された日時。 |
| ExecutionTimeLimit | duration | トリガーがタスクを開始できる間隔を指定します。 |
| 繰り返し | repetitionType | タスクを実行する頻度と、トリガーが起動した後に繰り返しパターンを繰り返す時間を指定します。 |
| StartBoundary | dateTime | トリガーがアクティブ化された日時。 |
属性
| 名前 | 型 | 説明 |
|---|---|---|
| id | id | トリガーの識別子。 |
解説
トリガー複合型には、次のものが含まれます。
- bootTriggerType
- calendarTriggerType
- eventTriggerType
- idleTriggerType
- logonTriggerType
- registrationTriggerType
- timeTriggerType
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント |
Windows Vista [デスクトップ アプリのみ] |
| サポートされている最小のサーバー |
Windows Server 2008 [デスクトップ アプリのみ] |