ISchemaOperations.SetManagedPropertyMappings method
Defina os mapeamentos de propriedades de propriedades rastreadas para uma propriedade gerenciada.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function SetManagedPropertyMappings ( _
managedProperty As ManagedPropertyInfo, _
mappingCollection As IEnumerable(Of MappingInfo), _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
'Uso
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
)
Parâmetros
managedProperty
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoUma propriedade gerenciada definindo que gerenciado propriedade a ser modificada.
mappingCollection
Type: System.Collections.Generic.IEnumerable<MappingInfo>Novo conjunto de mapeamentos associado a determinada propriedade gerenciada.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresenta a hierarquia do Sharepoint no qual a propriedade gerenciada está contida.
Valor retornado
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
A propriedade gerenciada modificada.