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
);

Parameters

sCacheElementId


Data type: BSTRQualifiers: [in]String containing the cache element ID.
bDeletePinned


Data type: BOOLQualifiers: [in]true to delete the pinned cache elements.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

This method is the same as the ICacheInfo::DeleteCacheElement method, but exposes the option to delete pinned content in the cache.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also

Reference

CacheInfo Class


Send comments about this topic to Microsoft.