PublishingCache classe
Fornece o método estático ListCacheContents() para exibir o conteúdo do cache de um objeto de SPSite para um objeto Stream .
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Publishing.PublishingCache
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (em Microsoft.SharePoint.Publishing.dll)
Sintaxe
'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PublishingCache
'Uso
Dim instance As PublishingCache
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PublishingCache
Exemplos
using Microsoft.SharePoint.Publishing;using System.IO;Stream stream;SPSite site;// Ouput cache contents of site to stream.PublishingCache.ListCacheContents(stream,site);
Imports Microsoft.SharePoint.PublishingImports System.IOPrivate stream As StreamPrivate site As SPSite' Ouput cache contents of site to stream.PublishingCache.ListCacheContents(stream,site)
Segurança de thread
Os membros públicos estática (Shared no Visual Basic) desse tipo são seguros para thread. Nenhum membro de instância pode ser garantido como seguro para thread.