CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration (clusapi.h)
Used by the
CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT
and
CLUSCTL_RESOURCE_STATE_CHANGE_REASON
control codes to describe the reason for a resource state change.
Syntax
typedef enum CLUSTER_RESOURCE_STATE_CHANGE_REASON {
eResourceStateChangeReasonUnknown,
eResourceStateChangeReasonMove,
eResourceStateChangeReasonFailover,
eResourceStateChangeReasonFailedMove,
eResourceStateChangeReasonShutdown,
eResourceStateChangeReasonRundown
} ;
Constants
eResourceStateChangeReasonUnknown This reason code is never sent by the cluster. Resource DLLs should use this value to initialize a local CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT structure and to reset the eReason member of the CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT structure before returning from the Offline and Terminate entry point functions. For more information, see CLUSCTL_RESOURCE_STATE_CHANGE_REASON. |
eResourceStateChangeReasonMove Offline is about to be called because the resource's group is being moved. |
eResourceStateChangeReasonFailover Terminate is about to be called because the resource's group is being failed over. |
eResourceStateChangeReasonFailedMove Online is about to be called because the resource's group did not successfully complete a move operation. |
eResourceStateChangeReasonShutdown Offline is about to be called because the Cluster service is being shut down. |
eResourceStateChangeReasonRundown Terminate is about to be called because the Cluster service has stopped unexpectedly. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Header | clusapi.h |