TaskDefinition.XmlText property

For scripting, gets or sets the XML-formatted definition of the task.

Syntax

TaskDefinition.XmlText As String

Property value

The XML-formatted definition of the task.

Remarks

The XML for a task is defined by the Task Scheduler Schema. For an example of task XML, see Daily Trigger Example (XML).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll