DFS_TARGET_PRIORITY_CLASS enumeration (lmdfs.h)

Defines the set of possible DFS target priority class settings.

Syntax

typedef enum _DFS_TARGET_PRIORITY_CLASS {
  DfsInvalidPriorityClass = -1,
  DfsSiteCostNormalPriorityClass = 0,
  DfsGlobalHighPriorityClass,
  DfsSiteCostHighPriorityClass,
  DfsSiteCostLowPriorityClass,
  DfsGlobalLowPriorityClass
} DFS_TARGET_PRIORITY_CLASS;

Remarks

The order of priority classes from highest to lowest is as follows:

  • DfsGlobalHighPriorityClass
  • DfsSiteCostHighPriorityClass
  • DfsSiteCostNormalPriorityClass
  • DfsSiteCostLowPriorityClass
  • DfsGlobalLowPriorityClass
Server targets are initially grouped into global high priority, normal priority, and low priority classes. The normal priority class is then subdivided, based on Active Directory site cost, into site-cost high priority, site-cost normal priority, and site-cost low priority classes.

For example, all of the server targets with a site-cost value of 0 are first grouped into site-cost high, normal, and low priority classes. Then, all server targets with lower site costs are likewise separated into site-cost high, normal, and low priority classes. Thus, a server target with a site-cost value of 0 and a site-cost low priority class is still ranked higher than a server target with a site-cost value of 1 and site-cost high priority class.

For more information about how server target priority is determined, see DFS Server Target Prioritization.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header lmdfs.h

See also

DFS Server Target Prioritization