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

Return value

Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
The modified managed property.

See also

Reference

ISchemaOperations interface

ISchemaOperations members

Microsoft.Office.Server.Search.Administration namespace