ISchemaOperations.SetManagedPropertyMappings 方法
从已爬网属性的托管属性设置属性映射。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function SetManagedPropertyMappings ( _
managedProperty As ManagedPropertyInfo, _
mappingCollection As IEnumerable(Of MappingInfo), _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
用法
Dim instance As ISchemaOperations
Dim managedProperty As ManagedPropertyInfo
Dim mappingCollection As IEnumerable(Of MappingInfo)
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfo
returnValue = instance.SetManagedPropertyMappings(managedProperty, _
mappingCollection, owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
ManagedPropertyInfo SetManagedPropertyMappings(
ManagedPropertyInfo managedProperty,
IEnumerable<MappingInfo> mappingCollection,
SearchObjectOwner owner
)
参数
managedProperty
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo托管的属性定义的托管属性来修改。
mappingCollection
类型:System.Collections.Generic.IEnumerable<MappingInfo>新的与给定的托管属性的映射的集合。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示 Sharepoint 层次结构中包含的托管的属性。
返回值
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
修改后的托管的属性。