ISchemaOperations.UpdateCategory method
Update a category.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function UpdateCategory ( _
categoryName As String, _
category As CategoryInfo, _
owner As SearchObjectOwner _
) As CategoryInfo
'Usage
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
)
Parameters
categoryName
Type: System.StringThe name of an existing category to update.
category
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoThe new properties of the category.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the category is contained.
Return value
Type: Microsoft.Office.Server.Search.Administration.CategoryInfo
The updated category.