WeeksInterval (weeklyScheduleType) Element
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/>
<Thurday/>
<Friday/>
</DaysOfWeek>
</ScheduleByWeek>
</CalendarTrigger>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για