ClusterEnumerable Class
Represents a collection of objects.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
[SerializableAttribute] [GuidAttribute("F567FCF9-0042-4764-876B-EA59389E2AED")] [ClassInterfaceAttribute(ClassInterfaceType.None)] [ComVisibleAttribute(true)] public class ClusterEnumerable : IClusterEnumerable
/** @attribute SerializableAttribute() */
/** @attribute GuidAttribute("F567FCF9-0042-4764-876B-EA59389E2AED") */
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */
/** @attribute ComVisibleAttribute(true) */
public class ClusterEnumerable implements IClusterEnumerable
SerializableAttribute GuidAttribute("F567FCF9-0042-4764-876B-EA59389E2AED") ClassInterfaceAttribute(ClassInterfaceType.None) ComVisibleAttribute(true) public class ClusterEnumerable implements IClusterEnumerable
You should not use this class. Instead, you should use the IClusterEnumerable interface as shown in the following example:
IClusterEnumerable jobs = cluster.ListJobs(null, JobStatus.Failed);
Many of the CCP API methods return collections. For example, the Cluster.ListJobs method returns a collection of jobs for a specified user.
This interface is also used to build a collection of objects (for example, when calling the Cluster.AddJobs method). To create an instance of this object for building a collection, call the Cluster.CreateClusterEnumerable method.
Community Additions
ADD
Show: