SearchConfigurationPortability members

This class contains methods that can be used to export or import search configuration settings. These settings include query rules, result sources, managed properties, crawled properties, and ranking models.

You can also export customized search configuration settings from a Search service application (SSA) and import the settings to site collections and sites; however, you cannot import customized search configuration settings to a Search service application.

The SearchConfigurationPortability type exposes the following members.

Constructors

  Name Description
Public method SearchConfigurationPortability() Creates an instance of this class.
Public method SearchConfigurationPortability(SPSite) Creates an instance of this class with the specified SPSite.

Top

Properties

  Name Description
Public property ImportWarnings Specifies the warning messages that were generated when the search configuration settings were imported.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExportSearchConfiguration Exports search configuration settings at the site server level, as specified by owningScope, in XML format.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ImportSearchConfiguration(SearchObjectOwner, String) Imports the search configuration settings contained in searchConfiguration at the site server level, as specified by owningScope.
Public method ImportSearchConfiguration(SearchObjectOwner, String, Dictionary<String, String>) Imports the search configuration settings contained in searchConfiguration at the site server level, as specified by owningScope. This method allows for certain fields in the search configuration settings like ItemTemplateId() and GroupTemplateId() in the CreateResultBlockActions object and DisplayTemplateUrl in the ResultItemType object to contain tokens, which will be replaced by the specified token value.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SearchConfigurationPortability class

Microsoft.Office.Server.Search.Portability namespace