SPWeb.AllowAutomaticASPXPageIndexing-Eigenschaft

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)

Syntax

'Declaration
Public Property AllowAutomaticASPXPageIndexing As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.AllowAutomaticASPXPageIndexing

instance.AllowAutomaticASPXPageIndexing = value
public bool AllowAutomaticASPXPageIndexing { get; set; }

Eigenschaftswert

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

Hinweise

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.

Siehe auch

Referenz

SPWeb Klasse

SPWeb-Member

Microsoft.SharePoint-Namespace