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.String

    The name of an existing category to update.

Return value

Type: Microsoft.Office.Server.Search.Administration.CategoryInfo
The updated category.

See also

Reference

ISchemaOperations interface

ISchemaOperations members

Microsoft.Office.Server.Search.Administration namespace