TaskDefinitionTriggers Property

Gets a collection of triggers that are used to start a task.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[XmlArrayItemAttribute(ElementName = "BootTrigger", IsNullable = true, 
	Type = typeof(BootTrigger))]
[XmlArrayItemAttribute(ElementName = "IdleTrigger", IsNullable = true, 
	Type = typeof(IdleTrigger))]
[XmlArrayItemAttribute(ElementName = "LogonTrigger", IsNullable = true, 
	Type = typeof(LogonTrigger))]
[XmlArrayItemAttribute(ElementName = "TimeTrigger", IsNullable = true, 
	Type = typeof(TimeTrigger))]
[XmlArrayAttribute]
public TriggerCollection Triggers { get; }

Property Value

TriggerCollection

See Also