Compartir a través de


Solution.CreateJob Method

Applies To: Windows 8.1

Loads a job from an XML file.

Namespace: Microsoft.Assessments.Hosting
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Solution
Dim jobPath As String
Dim returnValue As Job

returnValue = instance.CreateJob(jobPath)

Syntax

'Declaration
Public Function CreateJob ( _
    jobPath As String _
) As Job
public Job CreateJob (
    string jobPath
)
public:
Job^ CreateJob (
    String^ jobPath
)
public Job CreateJob (
    String jobPath
)
public function CreateJob (
    jobPath : String
) : Job

Parameters

  • jobPath
    A string containing the path to a XML file that has been validated against the job manifest schema.

Return Value

Returns Job.

Thread Safety

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

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Solution Class
Solution Members
Microsoft.Assessments.Hosting Namespace