Share via


Job.Priority Property

Retrieves or sets the job priority.

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

Usage

Syntax

'Declaration
<DefaultValueAttribute(JobPriority.Normal)> _
<XmlAttributeAttribute> _
Public Property Priority As JobPriority
[DefaultValueAttribute(JobPriority.Normal)] 
[XmlAttributeAttribute] 
public JobPriority Priority { get; set; }
[DefaultValueAttribute(JobPriority::Normal)] 
[XmlAttributeAttribute] 
public:
virtual property JobPriority Priority {
    JobPriority get () sealed;
    void set (JobPriority value) sealed;
}
/** @property */
public final JobPriority get_Priority ()

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

public final 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 Job.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

Job Class
Job Members
Microsoft.ComputeCluster Namespace