TaxonomyNavigationCacheStatistics.CurrentCachedSites property

Gets the number of SPSite objects for which data is currently loaded in the cache.

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

Syntax

'Declaration
Public ReadOnly Property CurrentCachedSites As Integer
    Get
'Usage
Dim instance As TaxonomyNavigationCacheStatistics
Dim value As Integer

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

Property value

Type: System.Int32

Remarks

SPSite objects in the cache have very little effect on the overall cache size, but each instance represents a GetChanges() subscription that is processed by the publishing cache.

This property is thread safe.

See also

Reference

TaxonomyNavigationCacheStatistics class

TaxonomyNavigationCacheStatistics members

Microsoft.SharePoint.Publishing.Navigation namespace