Share via


SiteCacheSettingsWriter.EnableCache Property

Sets the value for the EnableCache setting.

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