Share via


SiteCacheSettingsWriter.EnableCache property

Gets or sets a value that indicates whether or not to enble the cache.

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

Syntax

'Declaration
Public Property EnableCache As Boolean
    Get
    Set
'Usage
Dim instance As SiteCacheSettingsWriter
Dim value As Boolean

value = instance.EnableCache

instance.EnableCache = value
public bool EnableCache { get; set; }

Property value

Type: System.Boolean

See also

Reference

SiteCacheSettingsWriter class

SiteCacheSettingsWriter members

Microsoft.SharePoint.Publishing namespace