SiteCacheSettingsWriter.SetAuthenticatedPageCacheProfileId Method
Sets the anonymous cache profile id for the page output cache.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub SetAuthenticatedPageCacheProfileId ( _
site As SPSite, _
value As Integer _
)
'Usage
Dim instance As SiteCacheSettingsWriter
Dim site As SPSite
Dim value As Integer
instance.SetAuthenticatedPageCacheProfileId(site, _
value)
public void SetAuthenticatedPageCacheProfileId(
SPSite site,
int value
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe site from which to gather the profile information.
value
Type: System.Int32An integer representing the ID of the cache profile. This is the ID of the list item in the Cache Profiles list.