SearchConfigurationPortability SearchConfigurationPortability SearchConfigurationPortability Class

Definition

This class contains methods that can be used to import, export, or delete 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 (SSA).

public ref class SearchConfigurationPortability : Microsoft::SharePoint::Client::ClientObject
[Microsoft.SharePoint.Client.ScriptType("Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability", ServerTypeId="{f44b2c90-ddc4-49c8-8d4d-4fb56dcc3247}")]
public class SearchConfigurationPortability : Microsoft.SharePoint.Client.ClientObject
Public Class SearchConfigurationPortability
Inherits ClientObject
Inheritance
Microsoft.SharePoint.Client.ClientObjectMicrosoft.SharePoint.Client.ClientObjectMicrosoft.SharePoint.Client.ClientObject
SearchConfigurationPortabilitySearchConfigurationPortabilitySearchConfigurationPortability
Attributes
Microsoft.SharePoint.Client.ScriptTypeAttribute

Remarks

This class is an implementation of the ISearchConfigurationPortability interface.

Constructors

SearchConfigurationPortability(ClientRuntimeContext) SearchConfigurationPortability(ClientRuntimeContext) SearchConfigurationPortability(ClientRuntimeContext)

Initializes a new instance of the SearchConfigurationPortability object.

SearchConfigurationPortability(ClientRuntimeContext, ObjectPath) SearchConfigurationPortability(ClientRuntimeContext, ObjectPath) SearchConfigurationPortability(ClientRuntimeContext, ObjectPath)

Initializes a new instance of the SearchConfigurationPortability object.

Properties

ImportWarnings ImportWarnings ImportWarnings

Specifies the warning messages that were generated when the search settings configuration was imported.

Methods

DeleteSearchConfiguration(SearchObjectOwner, String) DeleteSearchConfiguration(SearchObjectOwner, String) DeleteSearchConfiguration(SearchObjectOwner, String)

This method deletes the search settings at the specified site server level.

ExportSearchConfiguration(SearchObjectOwner) ExportSearchConfiguration(SearchObjectOwner) ExportSearchConfiguration(SearchObjectOwner)

Exports search configuration settings at the site server level, as specified by owningScope, in XML format.

ImportSearchConfiguration(SearchObjectOwner, String) ImportSearchConfiguration(SearchObjectOwner, String) ImportSearchConfiguration(SearchObjectOwner, String)

Imports the search configuration settings contained in searchConfiguration at the site server level, as specified by owningScope.

InitOnePropertyFromJson(String, JsonReader) InitOnePropertyFromJson(String, JsonReader) InitOnePropertyFromJson(String, JsonReader)

Applies to