Share via


SiteCacheSettings.GetSiteCacheSettings Method (SPSite)

The default cache settings creator.

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

Syntax

'Declaration
Public Shared Function GetSiteCacheSettings ( _
    site As SPSite _
) As SiteCacheSettings
'Usage
Dim site As SPSite
Dim returnValue As SiteCacheSettings

returnValue = SiteCacheSettings.GetSiteCacheSettings(site)
public static SiteCacheSettings GetSiteCacheSettings(
    SPSite site
)

Parameters

Return Value

Type: Microsoft.SharePoint.Publishing.SiteCacheSettings
A new cache settings object.

Remarks

Determines if these settings have already been retrieved, and if they have, this method uses the cached version.

See Also

Reference

SiteCacheSettings Class

SiteCacheSettings Members

GetSiteCacheSettings Overload

Microsoft.SharePoint.Publishing Namespace

SiteCacheSettings