ResultItemTypeManager.AddResultItemType 方法

将新 ResultItemType 添加到搜索服务

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function AddResultItemType ( _
    type As ResultItemType _
) As ResultItemType
用法
Dim instance As ResultItemTypeManager
Dim type As ResultItemType
Dim returnValue As ResultItemType

returnValue = instance.AddResultItemType(type)
public ResultItemType AddResultItemType(
    ResultItemType type
)

参数

返回值

类型:Microsoft.Office.Server.Search.Administration.ResultItemType

另请参阅

引用

ResultItemTypeManager 类

ResultItemTypeManager 成员

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