TriggerCollectionAddNew Method
Add a new trigger to the collections of triggers for the task.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public Trigger AddNew(
TaskTriggerType taskTriggerType
)
- taskTriggerType TaskTriggerType
- The type of trigger to create.
TriggerA
Trigger instance of the specified type.