SPWeb.AllowAutomaticASPXPageIndexing 属性

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

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property AllowAutomaticASPXPageIndexing As Boolean
    Get
    Set
用法
Dim instance As SPWeb
Dim value As Boolean

value = instance.AllowAutomaticASPXPageIndexing

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

属性值

类型: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.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间