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

See also

Reference

SPCache class

SPCache members

Microsoft.Office.Server.ObjectCache namespace