Share via


IJob Members

Manages the tasks and resources that are associated with a job.

The following tables list the members exposed by the IJob type.

Public Properties

  Name Description
public property AskedNodes Retrieves or sets the list of nodes that are requested for the job.
public property CreateTime Retrieves the job creation time.
public property EndTime Retrieves the job end time.
public property ErrorMessage Retrieves the job error message.
public property ExtendedJobTerms Retrieves the application-defined extended job terms.
public property Id Retrieves the job identifier.
public property IsBackfill Checks whether the job is running as a backfill job.
public property IsExclusive Determines whether nodes should be exclusively allocated to the job.
public property MaximumNumberOfProcessors Retrieves or sets the maximum number of processors that are required by the job.
public property MinimumNumberOfProcessors Retrieves or sets the minimum number of processors that are required by the job.
public property Name Retrieves or sets the display name of the job.
public property Priority Retrieves or sets the job priority.
public property Project Retrieves or sets the project name that is associated with the job.
public property Runtime Retrieves or sets the run-time limit for the job.
public property RunUntilCanceled Determines whether the resources that are allocated to a job are reserved for the job until the job is canceled (even if the job has no active tasks).
public property SoftwareLicense Retrieves or sets information about the required licenses.
public property StartTime Retrieves the time that the job started running.
public property Status Retrieves the status of the job.
public property SubmittedBy Retrieves the name of the user who added, submitted, or queued the job.
public property SubmitTime Retrieves the time that the job was submitted.
public property TaskCount Retrieves the number of tasks in the job.
public property User Retrieves or sets the RunAs user for the job.

Top

Public Methods

  Name Description
public method AddTask Adds the task to the job.
public method Clear Removes all tasks from the job.
public method GetEnumerator Retrieves an enumerator used to enumerate the tasks in the job.
public method GetTask Retrieves the specified task.
public method SetExtendedJobTerm Sets the application-defined extended term on the job.

Top

See Also

Reference

IJob Interface
Microsoft.ComputeCluster Namespace