共用方式為


SPWebPartCollection.CacheInvalidate method

NOTE: This API is now obsolete.

已過時。快取失效的網頁組件,包括 [輸出] 和 [網頁組件快取。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub CacheInvalidate ( _
    storageKey As Guid, _
    storage As Storage _
)
'用途
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
)

參數

  • storageKey
    Type: System.Guid

    識別 [網頁組件的 GUID。

請參閱

參照

SPWebPartCollection class

SPWebPartCollection members

Microsoft.SharePoint namespace