ICluster.CreateTaskFromXmlFile Method

Creates a task using the specified XML file.


Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

ITask CreateTaskFromXmlFile (
	string path
)
ITask CreateTaskFromXmlFile (
	String path
)
function CreateTaskFromXmlFile (
	path : String
) : ITask

Parameters

path

The absolute path to the XML file that contains the task to create. The file name should include the .xml extension. The XML file must contain a single Task element. For information about writing the XML document, see Task Schema.

Return Value

An ITask interface that represents the task.

The initial state of the task is NotSubmitted (see TaskStatus). To run the task, you must add the task to a job or use a command to execute the task. A task is queued or submitted when its parent job is queued or submitted.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

Community Additions

ADD
Show: