Click or drag to resize
Task Scheduler Managed Class Library

TaskDefinitionTriggers Property

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

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[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; }
Request Example View Source

Property Value

TriggerCollection
See Also