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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool NoCrawl { get; set; }

Property Value

Type: System.Boolean
true if searching is not enabled; otherwise, false.
Show: