ISchemaOperations.UpdateCategory method
Atualize uma categoria.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
'Declaração
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function UpdateCategory ( _
categoryName As String, _
category As CategoryInfo, _
owner As SearchObjectOwner _
) As CategoryInfo
'Uso
Dim instance As ISchemaOperations
Dim categoryName As String
Dim category As CategoryInfo
Dim owner As SearchObjectOwner
Dim returnValue As CategoryInfo
returnValue = instance.UpdateCategory(categoryName, _
category, owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
CategoryInfo UpdateCategory(
string categoryName,
CategoryInfo category,
SearchObjectOwner owner
)
categoryName
Type: System.StringO nome de uma categoria existente para atualizar.
category
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoAs novas propriedades da categoria.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresenta a hierarquia do Sharepoint em que a categoria está contida.
Type: Microsoft.Office.Server.Search.Administration.CategoryInfo
A categoria atualizada.