PublishingCache Class

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


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.