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)

Syntax

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

value = instance.NoCrawl

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

Property value

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace