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.
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Defines a set of valid load balance policies for a path. These policies correspond to the definitions in the DSM MOF.
Syntax
typedef enum _VDS_LOADBALANCE_POLICY_ENUM {
VDS_LBP_UNKNOWN = 0,
VDS_LBP_FAILOVER = 1,
VDS_LBP_ROUND_ROBIN = 2,
VDS_LBP_ROUND_ROBIN_WITH_SUBSET = 3,
VDS_LBP_DYN_LEAST_QUEUE_DEPTH = 4,
VDS_LBP_WEIGHTED_PATHS = 5,
VDS_LBP_LEAST_BLOCKS = 6,
VDS_LBP_VENDOR_SPECIFIC = 7
} VDS_LOADBALANCE_POLICY_ENUM;
Constants
VDS_LBP_UNKNOWNValue: 0 The policy is unknown. |
VDS_LBP_FAILOVERValue: 1 The policy uses one primary path with other paths being backup paths. |
VDS_LBP_ROUND_ROBINValue: 2 The policy uses all paths in round-robin fashion. |
VDS_LBP_ROUND_ROBIN_WITH_SUBSETValue: 3 The policy uses primary paths in round-robin fashion. The backup paths are used if all of the primary paths fail. |
VDS_LBP_DYN_LEAST_QUEUE_DEPTHValue: 4 The policy uses the path with the least number of active requests. |
VDS_LBP_WEIGHTED_PATHSValue: 5 The policy uses the path with the least weight (each path is assigned a weight). |
VDS_LBP_LEAST_BLOCKSValue: 6 The policy uses the path with the least blocks. |
VDS_LBP_VENDOR_SPECIFICValue: 7 The policy is a vendor-specific policy. |
Remarks
Note Additional constants might be added to the VDS_LOADBALANCE_POLICY_ENUM enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_LOADBALANCE_POLICY_ENUM enumeration constant.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
| Header | vds.h |