AuthenticatedPageCacheProfileId property

PublishingWeb.AuthenticatedPageCacheProfileId property

Gets or sets the identifier (ID) of the authenticated page output cache profile for this PublishingWeb object.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public int AuthenticatedPageCacheProfileId { get; set; }

Property value

Type: System.Int32
An integer representing the ID of the cache profile. A value of -1 indicates that the profile should be inherited from a parent PublishingWeb object if possible.

Use this property to determine if and how PublishingPage objects that are contained by the PublishingWeb object should be cached in the ASP.NET output cache for authenticated users.

To save changes after setting this property, call the Update method.

© 2015 Microsoft