JobOrderBy.CreateOrderBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a JobOrderBy object that you use to specify your preference for scheduling jobs on nodes in the cluster.
public static Microsoft.Hpc.Scheduler.Properties.JobOrderBy CreateOrderBy (Microsoft.Hpc.Scheduler.Properties.JobOrderBy.OrderByProperty prop, Microsoft.Hpc.Scheduler.Properties.JobOrderBy.SortOrder order);
static member CreateOrderBy : Microsoft.Hpc.Scheduler.Properties.JobOrderBy.OrderByProperty * Microsoft.Hpc.Scheduler.Properties.JobOrderBy.SortOrder -> Microsoft.Hpc.Scheduler.Properties.JobOrderBy
Public Shared Function CreateOrderBy (prop As JobOrderBy.OrderByProperty, order As JobOrderBy.SortOrder) As JobOrderBy
Parameters
The resource property to give preference to when scheduling resources for the job. For possible properties that you can specify, see the JobOrderBy.OrderByProperty enumeration.
- order
- JobOrderBy.SortOrder
The order in which to sort the resource property in the list of nodes that can run the job. For possible values, see the JobOrderBy.OrderByProperty enumeration.
Returns
A JobOrderBy object that contains the preference.