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

    若要更新已存在的类别的名称。

返回值

类型:Microsoft.Office.Server.Search.Administration.CategoryInfo
更新的类别。

另请参阅

引用

ISchemaOperations 接口

ISchemaOperations 成员

Microsoft.Office.Server.Search.Administration 命名空间