Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
ID of the anonymous page output cache profile for this area.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function GetAnonymousPageCacheProfileId ( _
site As SPSite _
) As Integer
'Usage
Dim instance As SiteCacheSettings
Dim site As SPSite
Dim returnValue As Integer
returnValue = instance.GetAnonymousPageCacheProfileId(site)
public int GetAnonymousPageCacheProfileId(
SPSite site
)
Parameters
- site
Type: Microsoft.SharePoint.SPSite
Return Value
Type: System.Int32
An integer that represents the ID of the cache profile. This is the ID of the list item in the Cache Profiles list.
Remarks
Determines if and how contained pages should be cached in the ASP.NET output cache for anonymous users.