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