SiteCacheSettings class

Provides the current settings of the cache for the requested SPSite object.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.SiteCacheSettings
    Microsoft.SharePoint.Publishing.SiteCacheSettingsWriter

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SiteCacheSettings
'Usage
Dim instance As SiteCacheSettings
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SiteCacheSettings

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SiteCacheSettings members

Microsoft.SharePoint.Publishing namespace

GetAuthenticatedPageCacheProfileId

GetSiteCacheSettings

EnableCache

EnableDebuggingOutput