SiteCacheSettings.GetAuthenticatedPageCacheProfileId method
Identifier (ID) of the authenticated page output cache profile for this area.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function GetAuthenticatedPageCacheProfileId ( _
site As SPSite _
) As Integer
'Usage
Dim instance As SiteCacheSettings
Dim site As SPSite
Dim returnValue As Integer
returnValue = instance.GetAuthenticatedPageCacheProfileId(site)
public int GetAuthenticatedPageCacheProfileId(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteSite that the cache belongs to.
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
This method determines if and how contained pages should be cached in the Microsoft ASP.NET output cache for authenticated users.