Partager via


CacheInvalidate Method

The CacheInvalidate method of the SPWebPartCollection class invalidates the cache for a Web Part, including the output and Web Part caches.

Parameters

storageKey   A GUID that identifies the Web Part.

storage   A Microsoft.SharePoint.WebPartPages.Storage value that specifies whether the storage for the Web Part is personal or shared.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security