SiteCacheSettings.GetSiteCacheSettings method
Returns an object representing the site cache settings from the cache.
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
site
Type: Microsoft.SharePoint.SPSiteSite that the cache belongs to.
Return value
Type: Microsoft.SharePoint.Publishing.SiteCacheSettings
A new cache settings object.
Remarks
This method determines if these settings have already been retrieved, and if they have, this method uses the cached version.