Table of contents
TOC
Collapse the table of content
Expand the table of content

WebExtensions.SiteSearch Method

SharePoint Dev Documents|Last Updated: 8/7/2017
|
1 Contributor

Returns the site collections that comply with the passed keyword query

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static List<SiteEntity> SiteSearch(this Web web, String keywordQueryValue, Boolean trimDuplicates = False)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

keywordQueryValue

  Type: System.String
  Keyword query

(optional) trimDuplicates

  Type: System.Boolean
  Indicates if duplicates should be trimmed or not

Return Value

Type: List
All found site collections

See also

© 2018 Microsoft