다음을 통해 공유


SPWebPartCollection.CacheInvalidate Method

NOTE: This API is now obsolete.

Obsolete. Invalidates the cache for a Web Part, including the output and Web Part caches.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub CacheInvalidate ( _
    storageKey As Guid, _
    storage As Storage _
)
'Usage
Dim instance As SPWebPartCollection
Dim storageKey As Guid
Dim storage As Storage

instance.CacheInvalidate(storageKey, _
    storage)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public void CacheInvalidate(
    Guid storageKey,
    Storage storage
)

Parameters

  • storageKey
    Type: System.Guid

    A GUID that identifies the Web Part.

See Also

Reference

SPWebPartCollection Class

SPWebPartCollection Members

Microsoft.SharePoint Namespace