ITaskDefinition::get_XmlText method (taskschd.h)

Gets or sets the XML-formatted definition of the task.

This property is read/write.

Syntax

HRESULT get_XmlText(
  BSTR *pXml
);

Parameters

pXml

Return value

None

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]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

ITaskDefinition