Trigger.Type property
For scripting, gets the type of the trigger. The trigger type is defined when the trigger is created and cannot be changed later. For information on creating a trigger, see TriggerCollection.Create.
Syntax
Trigger.Type As TASK_TRIGGER_TYPE2
Property value
One of the following TASK_TRIGGER_TYPE2 enumeration values.
Value | Meaning |
---|---|
|
Starts the task when a specific event occurs. |
|
Starts the task at a specific time of day. |
|
Starts the task daily. |
|
Starts the task weekly. |
|
Starts the task monthly. |
|
Starts the task every month on a specific day of the week. |
|
Starts the task when the computer goes into an idle state. |
|
Starts the task when the task is registered. |
|
Starts the task when the computer boots. |
|
Starts the task when a specific user logs on. |
|
Triggers the task when a specific session state changes. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|