Click or drag to resize
Task Scheduler Managed Class Library

WeeklyTrigger Properties

The WeeklyTrigger type exposes the following members.

Properties
  NameDescription
Public propertyDaysOfWeek
Gets or sets the days of the week on which the task runs.
Public propertyEnabled
Gets or sets a Boolean value that indicates whether the trigger is enabled.
(Inherited from Trigger.)
Public propertyEndBoundary
Gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.
Note Note
While the maximum value for this property is MaxValue, the Windows Task Scheduler management application that is part of the OS will fail if this value is greater than December 31, 9998.
(Inherited from Trigger.)
Public propertyExecutionTimeLimit
Gets or sets the maximum amount of time that the task launched by this trigger is allowed to run. Not available with Task Scheduler 1.0.
(Inherited from Trigger.)
Public propertyId
Gets or sets the identifier for the trigger. Cannot set with Task Scheduler 1.0.
(Inherited from Trigger.)
Public propertyRandomDelay
Gets or sets a delay time that is randomly added to the start time of the trigger.
Public propertyRepetition
Gets a RepetitionPattern instance that indicates how often the task is run and how long the repetition pattern is repeated after the task is started.
(Inherited from Trigger.)
Public propertyStartBoundary
Gets or sets the date and time when the trigger is activated.
(Inherited from Trigger.)
Public propertyTriggerType
Gets the type of the trigger.
(Inherited from Trigger.)
Public propertyWeeksInterval
Gets or sets the interval between the weeks in the schedule.
Top
See Also