共用方式為


SP.List.noCrawl Property

Applies to: SharePoint Foundation 2010

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

var value = SP.List.get_noCrawl(); 
SP.List.set_noCrawl(value);

Property Value

Type: Boolean

Applies To

SP.List Class

Exceptions

  • [System.NotSupportedException]
    Value is set to true and the list is an external list. Error code: -1.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace