ResultItemTypeManager.GetResultItemTypeByInternalID 方法
从搜索服务中检索特定的 ResultItemType
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetResultItemTypeByInternalID ( _
internalID As Guid, _
owner As SearchObjectOwner _
) As ResultItemType
用法
Dim instance As ResultItemTypeManager
Dim internalID As Guid
Dim owner As SearchObjectOwner
Dim returnValue As ResultItemType
returnValue = instance.GetResultItemTypeByInternalID(internalID, _
owner)
public ResultItemType GetResultItemTypeByInternalID(
Guid internalID,
SearchObjectOwner owner
)
参数
- internalID
类型:System.Guid
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示相同的站点上下文所需的 ResultItemType SearchObjectOwner
返回值
类型:Microsoft.Office.Server.Search.Administration.ResultItemType