CF_POPULATION_POLICY_PRIMARY enumeration (cfapi.h)
Allows a sync provider to control how placeholder directories and files should be created by the platform. This is the primary policy.
Syntax
typedef enum CF_POPULATION_POLICY_PRIMARY {
CF_POPULATION_POLICY_PARTIAL = 0,
CF_POPULATION_POLICY_FULL = 2,
CF_POPULATION_POLICY_ALWAYS_FULL = 3
} ;
Constants
CF_POPULATION_POLICY_PARTIAL Value: 0 With CF_POPULATION_POLICY_PARTIAL population policy, when the platform detects access on a not fully populated directory, it will request only the entries required by the user application from the sync provider. This policy is not currently supported by the platform. |
CF_POPULATION_POLICY_FULL Value: 2 With CF_POPULATION_POLICY_FULL population policy, when the platform detects access on a not fully populated directory, it will request the sync provider return all entries under the directory before completing the user request. |
CF_POPULATION_POLICY_ALWAYS_FULL Value: 3 When CF_POPULATION_POLICY_ALWAYS_FULL is selected, the platform assumes that the full name space is always available locally. It will never forward any directory enumeration request to the sync provider. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | cfapi.h |