ResultItemTypeManager.GetResultItemTypeByID method
Retrieves a particular ResultItemType from the Search Service
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetResultItemTypeByID ( _
id As Integer, _
owner As SearchObjectOwner _
) As ResultItemType
'Usage
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
)
Parameters
id
Type: System.Int32The id of the ResultItemType to retrieve
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerA SearchObjectOwner representing the same site context as the desired ResultItemType
Return value
Type: Microsoft.Office.Server.Search.Administration.ResultItemType