SPWeb.AllowAutomaticASPXPageIndexing property
SharePoint 2013
Gets or sets a Boolean value that specifies whether the .aspx page within the website should be indexed by the search engine.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue 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.