CLUSTER_RESOURCE_TYPE_ENUM enumeration

Describes the type of cluster object being enumerated by the ClusterResourceTypeEnum and ClusterResourceTypeOpenEnum functions.

Syntax


typedef enum CLUSTER_RESOURCE_TYPE_ENUM { 
  CLUSTER_RESOURCE_TYPE_ENUM_NODES      = 1,
  CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES  = 2,
  CLUSTER_RESOURCE_TYPE_ENUM_ALL        = (CLUSTER_RESOURCE_TYPE_ENUM_NODES | 
      CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES)
} CLUSTER_RESOURCE_TYPE_ENUM, _CLUSTER_RESOURCE_TYPE_ENUM;

Constants

CLUSTER_RESOURCE_TYPE_ENUM_NODES

The object is a node that can be a possible owner of the resource type.

CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES

The object is a resource that is an instance of the resource type.

Windows Server 2008:  This value is not supported before Windows Server 2008 R2. To emulate this on earlier platforms, enumerate all resources in the cluster (see the ClusterOpenEnum function) and filter the results using the ResUtilResourceTypesEqual function. If the call is made on a system without ResUtils.dll, then use the steps mentioned in the Remarks section of the ResUtilResourceTypesEqual function.

CLUSTER_RESOURCE_TYPE_ENUM_ALL

All cluster objects identified by the ClusterResourceTypeEnum and ClusterResourceTypeOpenEnum functions.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h;
MsClus.h

See also

Failover Cluster Enumerations
ClusterResourceTypeEnum
ClusterResourceTypeOpenEnum

 

 

Show: