定義所有觸發程式複雜類型的屬性、基底子專案和排序資訊。
<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>
子元素
| 元素 | 類型 | 描述 |
|---|---|---|
| 啟用 | boolean | 指定啟用觸發程序。 |
| EndBoundary | dateTime | 停用觸發程式的日期和時間。 |
| ExecutionTimeLimit | duration | 指定觸發程式可以啟動工作的間隔。 |
| 重複 | repetitionType | 指定執行工作的頻率,以及觸發程式引發後重複模式的重複時間長度。 |
| StartBoundary | dateTime | 啟動觸發程式的日期和時間。 |
屬性
| 名称 | 類型 | 描述 |
|---|---|---|
| id | 識別碼 | 觸發程式的識別碼。 |
備註
觸發複雜類型包括下列專案。
- bootTriggerType
- calendarTriggerType
- eventTriggerType
- idleTriggerType
- logonTriggerType
- registrationTriggerType
- timeTriggerType
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 |
Windows Vista [僅限傳統型應用程式] |
| 最低支援的伺服器 |
Windows Server 2008 [僅限傳統型應用程式] |