Partilhar via


ICacheInfo::DeleteCacheElement Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ICacheInfo::DeleteCacheElement method deletes a specific cache element from the cache, in Configuration Manager.

[IDL]
HRESULT DeleteCacheElement(
      BSTR sCacheElementId
);

Parameters

  • sCacheElementId
    Data type: BSTR

    Qualifiers: [in]

    ID of the cache element to delete.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

This method requires at least local administrator credentials.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

CacheInfo Class