ISchemaOperations.SetManagedPropertyMappings method
Set the property mappings from crawled properties for a managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function SetManagedPropertyMappings ( _
managedProperty As ManagedPropertyInfo, _
mappingCollection As IEnumerable(Of MappingInfo), _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
'Usage
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
)
Parameters
managedProperty
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoA managed property defining which managed property to modify.
mappingCollection
Type: System.Collections.Generic.IEnumerable<MappingInfo>The new collection of mappings associated with the given managed property.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the managed property is contained.
Return value
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
The modified managed property.