SPWebPartCollection.CacheInvalidate method
NOTE: This API is now obsolete.
Obsoleto. Invalida o cache para uma Web Part, incluindo a saída e os caches da Web Part.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub CacheInvalidate ( _
storageKey As Guid, _
storage As Storage _
)
'Uso
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
)
Parâmetros
storageKey
Type: System.GuidUm GUID que identifica a Web Part.
storage
Type: Microsoft.SharePoint.WebPartPages.StorageUm valor de Microsoft.SharePoint.WebPartPages.Storage que especifica se o armazenamento para a Web Part é pessoal ou compartilhada.