ISchemaOperations.UpdateCategory 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function UpdateCategory ( _
categoryName As String, _
category As CategoryInfo, _
owner As SearchObjectOwner _
) As CategoryInfo
用法
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
)
参数
categoryName
类型:System.String若要更新已存在的类别的名称。
category
类型:Microsoft.Office.Server.Search.Administration.CategoryInfo新类别的属性。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示在其中包含该类别的 Sharepoint 层次结构。
返回值
类型:Microsoft.Office.Server.Search.Administration.CategoryInfo
更新的类别。