SPLimitedWebPartManager.CacheInvalidate method
Invalida o dados armazenados em cache.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Sub CacheInvalidate ( _
webPart As WebPart, _
storage As Storage _
)
'Uso
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim storage As Storage
instance.CacheInvalidate(webPart, storage)
public void CacheInvalidate(
WebPart webPart,
Storage storage
)
Parâmetros
- webPart
Type: System.Web.UI.WebControls.WebParts.WebPart
- storage
Type: Microsoft.SharePoint.WebPartPages.Storage
Comentários
Se uma Web Part deriva WebPartPages e armazena em cache os dados usando o método PartCacheWrite da classe, este método invalidará esses dados do cache.