The entire schema for a task can be exported from either the Task.Xml property or the TaskDefinition.XmlText property. This follows the schema outlined by Microsoft at http://msdn.microsoft.com/en-us/library/windows/desktop/aa383609(v=vs.85).aspx. It is an extremely complex object model. The good thing about the XML is that you can immediately reconstitute a task from that XML using the TaskFolder.RegisterTask method.
↧