The AutoFailbackType property specifies whether or not the group should automatically be moved to the node identified as its preferred owner when that node comes back online following a failover.
| Type: | DWORD |
| Access: | Read/write |
| Function: | ClusterGroupControl |
| Structure: | CLUSPROP_DWORD |
| Control Code: | CLUSCTL_GROUP_GET_COMMON_PROPERTIES |
Failback refers to the process by which a group is moved to its original node after that node has failed and been brought back online.
When ClusterGroupControl processes the CLUSCTL_GROUP_GET_COMMON_PROPERTIES control code, it returns a property list that includes the AutoFailbackType property as one of the entries. The property value portion of the entry contains a CLUSPROP_DWORD structure that is set as follows:
DWORD AutoFailbackTypeData = ClusterGroupAllowFailback;
CLUSPROP_DWORD AutoFailbackTypeValue;
AutoFailbackTypeValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
AutoFailbackTypeValue.cbLength = sizeof(DWORD);
AutoFailbackTypeValue.dw = AutoFailbackTypeData;
The data for the AutoFailbackType property can be set to one of the following values:
| Value | Description |
|---|---|
| ClusterGroupPreventFailback | Prevents failback. |
| ClusterGroupAllowFailback | Allows failback. |
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.