Share via


SPList.NoCrawl Property

Gets or sets a Boolean value specifying whether crawling is enabled for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public Property NoCrawl As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.NoCrawl

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

Property Value

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

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace