triggerBaseType 复杂类型
定义所有触发器复杂类型的属性、基子元素和排序信息。
<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 | ID | 触发器的标识符。 |
备注
触发器复杂类型包括以下内容。
- bootTriggerType
- calendarTriggerType
- eventTriggerType
- idleTriggerType
- logonTriggerType
- registrationTriggerType
- timeTriggerType
要求
要求 | 值 |
---|---|
最低受支持的客户端 |
Windows Vista [仅限桌面应用] |
最低受支持的服务器 |
Windows Server 2008 [仅限桌面应用] |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈