ISchemaOperations.DeleteCategory method
Delete a category.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub DeleteCategory ( _
category As CategoryInfo, _
owner As SearchObjectOwner _
)
'Usage
Dim instance As ISchemaOperations
Dim category As CategoryInfo
Dim owner As SearchObjectOwner
instance.DeleteCategory(category, owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
void DeleteCategory(
CategoryInfo category,
SearchObjectOwner owner
)
Parameters
category
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoThe category to be deleted. Only the [!:CategoryInfo.Name] property has to be present.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the category is contained.