ISchemaOperations.DeleteCategory 方法
删除类别。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub DeleteCategory ( _
category As CategoryInfo, _
owner As SearchObjectOwner _
)
用法
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
)
参数
category
类型:Microsoft.Office.Server.Search.Administration.CategoryInfo要删除的类别。只有**[!:CategoryInfo.Name]**属性已存在。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示在其中包含该类别的 Sharepoint 层次结构。