Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies the interval between the weeks in the schedule.
<xs:element name="WeeksInterval"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="unsignedByte"
>
<xs:minInclusive
value="1"
/>
<xs:maxInclusive
value="52"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
The element is defined by the weeklyScheduleType complex type.
Parent element
| Element | Derived from | Description |
|---|---|---|
| ScheduleByWeek | weeklyScheduleType | Specifies a weekly schedule. |
Remarks
For scripting development, the weekly interval is specified using the WeeklyTrigger.WeeksInterval property.
For C++ development, the weekly interval is specified using the IWeeklyTrigger::WeeksInterval property.
Examples
The following XML defines a weekly calendar trigger that starts a task Monday through Friday ( at 8:00 AM) every week.
<CalendarTrigger>
<StartBoundary>2005-01-01T08:00:00</StartBoundary>
<EndBounadry>2007-01-01T00:00:00</EndBoundary>
<ScheduleByWeek>
<WeeksInterval>1</WeeksInterval>
<DaysOfWeek>
<Monday/>
<Tuesday/>
<Wednesday/>
<Thursday/>
<Friday/>
</DaysOfWeek>
</ScheduleByWeek>
</CalendarTrigger>
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |