ISchemaOperations.ImportSchema 方法
导入特定所有者的架构。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function ImportSchema ( _
owner As SearchObjectOwner, _
importSchema As SearchSchemaConfigurationSettings _
) As IEnumerable(Of String)
用法
Dim instance As ISchemaOperations
Dim owner As SearchObjectOwner
Dim importSchema As SearchSchemaConfigurationSettings
Dim returnValue As IEnumerable(Of String)
returnValue = instance.ImportSchema(owner, _
importSchema)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
IEnumerable<string> ImportSchema(
SearchObjectOwner owner,
SearchSchemaConfigurationSettings importSchema
)
参数
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner要创建的架构的所有者。
importSchema
类型:SearchSchemaConfigurationSettingsExportSchema(SearchObjectOwner)方法返回一个SearchSchemaConfigurationSettings对象。
返回值
类型:System.Collections.Generic.IEnumerable<String>