NoCrawl property
Collapse the table of content
Expand the table of content

SPWeb.NoCrawl property

Gets or sets a Boolean value that specifies whether searching is enabled for the website.

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

public bool NoCrawl { get; set; }

Property value

Type: System.Boolean
true if searching is not enabled; otherwise, false.
© 2015 Microsoft