ICluster::CreateClusterEnumerable method

Creates an enumerable object.

Syntax

HRESULT CreateClusterEnumerable(
  [out] IClusterEnumerable **pRetVal
);

Parameters

  • pRetVal [out]
    An IClusterEnumerable interface that you use to add objects to the enumeration.

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, call the ICluster::get_ErrorMessage method.

Examples

For an example that creates and adds items to the enumerable object, see Submitting a Job to the Scheduling Queue.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

ICluster::AddJobs

ICluster::AddTasks

ICluster::CancelJobs

ICluster::CancelTasks

ICluster::QueueJobs

ICluster::RequeueJobs

ICluster::RequeueTasks

ICluster::SubmitJobs