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

SearchExtensions.ExportSearchSettings Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Exports the search settings to file.

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

Syntax

public static void ExportSearchSettings(this ClientContext context, String exportFilePath, SearchObjectLevel searchSettingsExportLevel)

Parameters

context

  Type: Microsoft.SharePoint.Client.ClientContext
  Context for SharePoint objects and operations

exportFilePath

  Type: System.String
  Path where to export the search settings

searchSettingsExportLevel

  Type: Microsoft.SharePoint.Client.Search.Administration.SearchObjectLevel
  Search settings export level Reference: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.search.administration.searchobjectlevel(v=office.15).aspx

Return Value

Type: void

See also

© 2018 Microsoft