SearchConfigurationPortability.ImportSearchConfiguration 方法 (SearchObjectOwner, String)
导入包含在服务器级别的网站,由owningScopesearchConfiguration搜索配置设置。
命名空间: Microsoft.Office.Server.Search.Portability
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Sub ImportSearchConfiguration ( _
owningScope As SearchObjectOwner, _
searchConfiguration As String _
)
用法
Dim instance As SearchConfigurationPortability
Dim owningScope As SearchObjectOwner
Dim searchConfiguration As String
instance.ImportSearchConfiguration(owningScope, _
searchConfiguration)
public void ImportSearchConfiguration(
SearchObjectOwner owningScope,
string searchConfiguration
)
参数
owningScope
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwnerSearchObjectOwner表示搜索配置设置是要导入的级别。
searchConfiguration
类型:System.String保存搜索配置设置了前面使用方法生成的**ExportSearchConfiguration()**文件包的名称String 。
另请参阅
引用
SearchConfigurationPortability 类