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

  • value
    Type: System.Int32

    An integer representing the ID of the cache profile. This is the ID of the list item in the Cache Profiles list.

See also

Reference

SiteCacheSettingsWriter class

SiteCacheSettingsWriter members

Microsoft.SharePoint.Publishing namespace