Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Changes the numeric parameter value of a local policy in an FhConfigMgr object.
Note
IFhConfigMgr is deprecated and may be altered or unavailable in future releases.
HRESULT SetLocalPolicy(
[in] FH_LOCAL_POLICY_TYPE LocalPolicyType,
[in] ULONGLONG PolicyValue
);
[in] LocalPolicyType
Specifies the local policy.
[in] PolicyValue
Specifies the new value of the numeric parameter for the specified local policy.
S_OK on success, or an unsuccessful HRESULT value on failure. Possible unsuccessful HRESULT values include values defined in the FhErrors.h header file.
Each local policy contains a numeric parameter that specifies how or when the File History feature backs up files and folders. See the FH_LOCAL_POLICY_TYPE enumeration for more information about the local policies that can be specified.
To retrieve the numeric parameter value for a local policy, use the IFhConfigMgr::GetLocalPolicy method.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | fhcfg.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today