ISchemaOperations.UpdateManagedProperty method
Atualize 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 UpdateManagedProperty ( _
managedProperty As ManagedPropertyInfo, _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
'Uso
Dim instance As ISchemaOperations
Dim managedProperty As ManagedPropertyInfo
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfo
returnValue = instance.UpdateManagedProperty(managedProperty, _
owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
ManagedPropertyInfo UpdateManagedProperty(
ManagedPropertyInfo managedProperty,
SearchObjectOwner owner
)
Parâmetros
managedProperty
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoA propriedade gerenciada para atualizar.
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 atualizada.
Comentários
Os mapeamentos e aliases de propriedade gerenciada não será atualizado. Para atualizar os, você precisa usar SetManagedPropertyMappings(ManagedPropertyInfo, IEnumerable<MappingInfo>, SearchObjectOwner) e SetManagedPropertyAliases(ManagedPropertyInfo, [], SearchObjectOwner).