Share via


SPSecurityTrimmedControl.HideFromSearchCrawler property

Gets or sets the HideFromSearchCrawler. The HideFromSearchCrawler attribute allows output to be hidden from SharePoint Search or Internet Search Crawlers.

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

Syntax

'Declaration
Public Property HideFromSearchCrawler As Boolean
    Get
    Set
'Usage
Dim instance As SPSecurityTrimmedControl
Dim value As Boolean

value = instance.HideFromSearchCrawler

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

Property value

Type: System.Boolean

See also

Reference

SPSecurityTrimmedControl class

SPSecurityTrimmedControl members

Microsoft.SharePoint.WebControls namespace