ClusterEnumerable Class

Represents a collection of objects.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<SerializableAttribute> _
<GuidAttribute("F567FCF9-0042-4764-876B-EA59389E2AED")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
Public Class ClusterEnumerable
    Implements IClusterEnumerable
[SerializableAttribute] 
[GuidAttribute("F567FCF9-0042-4764-876B-EA59389E2AED")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
public class ClusterEnumerable : IClusterEnumerable
[SerializableAttribute] 
[GuidAttribute(L"F567FCF9-0042-4764-876B-EA59389E2AED")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
public ref 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

Remarks

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.

Inheritance Hierarchy

System.Object
  Microsoft.ComputeCluster.ClusterEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

ClusterEnumerable Members
Microsoft.ComputeCluster Namespace