Share via


SiteCacheSettings.ObjectCacheSize property

Determines how much memory should be used by the object cache.

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

Syntax

'Declaration
Public ReadOnly Property ObjectCacheSize As Integer
    Get
'Usage
Dim instance As SiteCacheSettings
Dim value As Integer

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

Property value

Type: System.Int32

Remarks

The memory size is stored in megabytes (MB).

See also

Reference

SiteCacheSettings class

SiteCacheSettings members

Microsoft.SharePoint.Publishing namespace

SiteCacheSettings