Share via


PageLayout.AnonymousCacheProfileId Property

Gets the Id of the anonymous cache profile in the Cache Profiles list.

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

Syntax

'Declaration
Public ReadOnly Property AnonymousCacheProfileId As Integer
    Get
'Usage
Dim instance As PageLayout
Dim value As Integer

value = instance.AnonymousCacheProfileId
public int AnonymousCacheProfileId { get; }

Property Value

Type: System.Int32
Id of the anonymous cache profile in the Cache Profiles list.

Remarks

If the return value is -1, no profile is selected.

See Also

Reference

PageLayout Class

PageLayout Members

Microsoft.SharePoint.Publishing Namespace