Export (0) Print
Expand All
Expand Minimize

SPWeb.AllowAutomaticASPXPageIndexing property

Gets or sets a Boolean value that specifies whether the .aspx page within the website should be indexed by the search engine.

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

public bool AllowAutomaticASPXPageIndexing { get; set; }

Property value

Type: System.Boolean
true to specify that the .aspx page within the website should be indexed by the search engine; otherwise, false.

This property is initially set according to the following algorithm: if there is any list, folder, or item within the website that has role assignments that are different than the role assignments of the website itself, this property is false. Otherwise, it is true. If it is initially false, you may set it to true if you are sure that any lists with unique role assignments are not visible to the user.

Show:
© 2014 Microsoft