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
owningScope
Type: Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwnerSearchObjectOwner representing the level at which search configuration settings are to be imported.
searchConfiguration
Type: System.StringString holding the name of the package in which search configuration settings were generated earlier by using the ExportSearchConfiguration() method.
See also
Reference
SearchConfigurationPortability class