Share via


SiteCacheSettingsWriter.ObjectCacheSize Property

Gets or sets a value that indicates the maximum amount of memory that can be allocated to the object cache (in megabytes).

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

Syntax

'Declaration
Public Property ObjectCacheSize As Integer
    Get
    Set
'Usage
Dim instance As SiteCacheSettingsWriter
Dim value As Integer

value = instance.ObjectCacheSize

instance.ObjectCacheSize = value
public int ObjectCacheSize { get; set; }

Property Value

Type: System.Int32

See Also

Reference

SiteCacheSettingsWriter Class

SiteCacheSettingsWriter Members

Microsoft.SharePoint.Publishing Namespace