IScheduler::GetPoolList method

Gets a list of all pools on the cluster.

Syntax

HRESULT GetPoolList(
  [out] ISchedulerCollection *poolList
);

Parameters

  • poolList [out]
    The list of all pools on the cluster.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.

Requirements

Product

This method was introduced in Windows HPC Server 2008 R2 Service Pack 2 (SP2) and is not supported in previous versions.

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::CreatePool

IScheduler::DeletePool

IScheduler::GetPoolList

IScheduler::OpenPool

Pool Property of ISchedulerJob