Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the operational condition of a resource. These values are used by the GetClusterResourceState function, the State property of the MSCluster_Resource class, and the State property of the ClusResource object.
Syntax
typedef enum CLUSTER_RESOURCE_STATE {
ClusterResourceStateUnknown = -1,
ClusterResourceInherited,
ClusterResourceInitializing,
ClusterResourceOnline,
ClusterResourceOffline,
ClusterResourceFailed,
ClusterResourcePending = 128,
ClusterResourceOnlinePending,
ClusterResourceOfflinePending
} ;
Constants
ClusterResourceStateUnknownValue: -1 The operation was not successful. For more information about the error, call the function GetLastError. |
ClusterResourceInheritedThe resource has been inherited. |
ClusterResourceInitializingThe resource is performing initialization. |
ClusterResourceOnlineThe resource is operational and functioning normally. |
ClusterResourceOfflineThe resource is not operational. |
ClusterResourceFailedThe resource has failed. |
ClusterResourcePendingValue: 128 The resource is in the process of coming online or going offline. |
ClusterResourceOnlinePendingThe resource is in the process of coming online. |
ClusterResourceOfflinePendingThe resource is in the process of going offline. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
| Header | clusapi.h |