List.NoCrawl property

Gets or sets a value that specifies that the crawler must not crawl the list.

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

Syntax

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

value = instance.NoCrawl

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

Property value

Type: System.Boolean
Returns Booleantrue if the crawler does not crawl the list otherwise returns false. The default value is

Exceptions

Exception Condition
[System.NotSupportedException]

Value is set to true and the list is an external list. Error code: -1.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace