SPCache.DeleteExpired Method
Removes from all caches all objects whose expiration dates are in the past.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub DeleteExpired
'Usage
Dim instance As SPCache
instance.DeleteExpired()
public void DeleteExpired()