This topic has not yet been rated - Rate this topic

PublishingCache Class

Provides the static ListCacheContents() method to output the cache contents of an SPSite object to a Stream object.

System.Object
  Microsoft.SharePoint.Publishing.PublishingCache

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PublishingCache
using Microsoft.SharePoint.Publishing;using System.IO;Stream stream;SPSite site;// Ouput cache contents of site to stream.PublishingCache.ListCacheContents(stream,site);
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ