Share via


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.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SiteCacheSettings
'Usage
Dim instance As SiteCacheSettings
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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