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
)

参数

  • searchConfiguration
    类型:System.String

    保存搜索配置设置了前面使用方法生成的**ExportSearchConfiguration()**文件包的名称String

另请参阅

引用

SearchConfigurationPortability 类

SearchConfigurationPortability 成员

ImportSearchConfiguration 重载

Microsoft.Office.Server.Search.Portability 命名空间