Share via


IJob.Priority Property

Retrieves or sets the job priority.

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

Usage

Syntax

'Declaration
Property Priority As JobPriority
JobPriority Priority { get; set; }
property JobPriority Priority {
    JobPriority get ();
    void set (JobPriority value);
}
/** @property */
JobPriority get_Priority ()

/** @property */
void set_Priority (JobPriority value)
function get Priority () : JobPriority

function set Priority (value : JobPriority)

Property Value

The job priority. The default is Normal. For a list of values, see Microsoft.ComputeCluster.JobPriority.

Remarks

Compute cluster resources are allocated to jobs based on job priority, except for backfill jobs. For information about backfill jobs, see the Remarks section of IJob.IsBackfill. Jobs are not preempted; they run until they finish, fail or are canceled.

Within a job, tasks receive resources based on the order in which they were added to the job. If a processor is available, the task will run.

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

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

See Also

Reference

IJob Interface
IJob Members
Microsoft.ComputeCluster Namespace