Clase PublishingCache
Proporciona el método estático ListCacheContents() para generar el contenido de la caché de un objeto SPSite a un objeto Stream .
Jerarquía de la herencia
System.Object
Microsoft.SharePoint.Publishing.PublishingCache
Espacio de nombres: Microsoft.SharePoint.Publishing
Ensamblado: Microsoft.SharePoint.Publishing (en Microsoft.SharePoint.Publishing.dll)
Sintaxis
'Declaración
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PublishingCache
'Uso
Dim instance As PublishingCache
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PublishingCache
Ejemplos
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)
Seguridad para subprocesos
Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.