ResultItemTypeManager.GetResultItemTypeByID 方法

从搜索服务中检索特定的 ResultItemType

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

语法

声明
Public Function GetResultItemTypeByID ( _
    id As Integer, _
    owner As SearchObjectOwner _
) As ResultItemType
用法
Dim instance As ResultItemTypeManager
Dim id As Integer
Dim owner As SearchObjectOwner
Dim returnValue As ResultItemType

returnValue = instance.GetResultItemTypeByID(id, _
    owner)
public ResultItemType GetResultItemTypeByID(
    int id,
    SearchObjectOwner owner
)

参数

  • id
    类型:System.Int32

    若要检索 ResultItemType 的 id

返回值

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

另请参阅

引用

ResultItemTypeManager 类

ResultItemTypeManager 成员

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