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.Int32

    The id of the ResultItemType to retrieve

Return value

Type: Microsoft.Office.Server.Search.Administration.ResultItemType

See also

Reference

ResultItemTypeManager class

ResultItemTypeManager members

Microsoft.Office.Server.Search.Administration namespace