FesfUtil2PurgePolicyCache Function
(file variant)

Purges data stored in the FESF Policy Cache for the specified file.

Syntax (C++)

void

FesfUtil2PurgePolicyCache(std::wstring_view PathToPurge);

Syntax (C)

DWORD

FesfUtil2PurgePolicyCacheForFile_C([in] LPCWSTR PathToPurge);

Parameters

PathToPurge

Fully qualified path for the file to purge from cache. A fully specified file name is required. Wild cards in the file specification are not supported.

Throws

Throws an FEU2Exception if an error is encountered.

Remarks

This function causes FESF to remove all references to a given file from the FESF Policy Cache. There may be some delay between the time this function is called and when the Policy Cache is completely purged for the specified file.

Replaces

IFesfUtil::PurgePolicyCacheFile