Condividi tramite


SiteCacheSettingsWriter.CreateCachePerRequest Property

Gets or sets a value that indicates whether or not a new cache should be created for each request. This property should only be used for testing purposes.

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

Syntax

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

value = instance.CreateCachePerRequest

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

Property Value

Type: System.Boolean

See Also

Reference

SiteCacheSettingsWriter Class

SiteCacheSettingsWriter Members

Microsoft.SharePoint.Publishing Namespace