![]() | Logon |
The LogonTrigger type exposes the following members.
Name | Description | |||
---|---|---|---|---|
![]() | Delay | Gets or sets a value that indicates the amount of time between when the system is booted and when the task is started. | ||
![]() | Enabled | Gets or sets a Boolean value that indicates whether the trigger is enabled. (Inherited from Trigger) | ||
![]() | EndBoundary |
Gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.
(Inherited from Trigger) | ||
![]() | ExecutionTimeLimit |
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) | ||
![]() | Id | Gets or sets the identifier for the trigger. Cannot set with Task Scheduler 1.0. (Inherited from Trigger) | ||
![]() | Repetition |
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) | ||
![]() | StartBoundary | Gets or sets the date and time when the trigger is activated. (Inherited from Trigger) | ||
![]() | TriggerType | Gets the type of the trigger. (Inherited from Trigger) | ||
![]() | UserId | Gets or sets The identifier of the user. For example, "MyDomain\MyName" or for a local account, "Administrator". This property can be in one of the following formats: • User name or SID: The task is started when the user logs on to the computer. • NULL: The task is started when any user logs on to the computer. |