Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.
© 2015 Microsoft