Share via


SearchConfigurationPortability.ImportSearchConfiguration method

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

Namespace:  Microsoft.SharePoint.Client.Search.Portability
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Overridable Sub ImportSearchConfiguration ( _
    owningScope As SearchObjectOwner, _
    searchConfiguration As String _
)
'Usage
Dim instance As SearchConfigurationPortability
Dim owningScope As SearchObjectOwner
Dim searchConfiguration As String

instance.ImportSearchConfiguration(owningScope, _
    searchConfiguration)
public virtual void ImportSearchConfiguration(
    SearchObjectOwner owningScope,
    string searchConfiguration
)

Parameters

  • searchConfiguration
    Type: System.String

    String holding the name of the package in which search configuration settings were generated earlier by using the ExportSearchConfiguration() method.

See also

Reference

SearchConfigurationPortability class

SearchConfigurationPortability members

Microsoft.SharePoint.Client.Search.Portability namespace