IScheduler::CreateSortCollection method

Creates an empty collection to which you add sort properties.

Syntax

HRESULT CreateSortCollection(
  [out] ISortCollection **pCollection
);

Parameters

  • pCollection [out]
    An ISortCollection interface to which you add sort properties.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Examples

For an example, see Filtering and Sorting Lists of Objects.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::CreateFilterCollection