The ICacheInfo::DeleteCacheElementEx method deletes a specific cache element from the cache, in Configuration Manager, with an option to delete pinned elements in the cache.
[IDL] HRESULT DeleteCacheElementEx( BSTR sCacheElementId, BOOL bDeletePinned );
- Data type: BSTRQualifiers: [in]String containing the cache element ID.
- Data type: BOOLQualifiers: [in]true to delete the pinned cache elements.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
This method is the same as the ICacheInfo::DeleteCacheElement method, but exposes the option to delete pinned content in the cache.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.