IFhReassociation::SelectConfiguration method (fhcfg.h)
Selects one of the File History configurations discovered on a storage device or network share by the IFhReassociation::ScanTargetForConfigurations method for subsequent reassociation. Actual reassociation is performed by the IFhReassociation::PerformReassociation method.
Note
IFhReassociation is deprecated and may be altered or unavailable in future releases.
Syntax
HRESULT SelectConfiguration(
[in] DWORD Index
);
Parameters
[in] Index
Zero-based index of a discovered configuration.
Return value
S_OK on success, or an unsuccessful HRESULT value on failure. Possible unsuccessful HRESULT values include values defined in the FhErrors.h header file.
If there is no File History configuration with the specified index, the HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
error code is returned.
Requirements
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 |