ISchemaOperations.DeleteCategory method
Exclua uma categoria.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub DeleteCategory ( _
category As CategoryInfo, _
owner As SearchObjectOwner _
)
'Uso
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
)
Parâmetros
category
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoA categoria a ser excluída. Somente a propriedade [!:CategoryInfo.Name] deve estar presente.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresenta a hierarquia do Sharepoint em que a categoria está contida.