Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IsBestBet method of the QueryResultBase class gets a flag that indicates whether the specified search result is a Best Bet.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Overridable Function IsBestBet ( _
objectDataRow As DataRow _
) As Boolean
'Usage
Dim objectDataRow As DataRow
Dim returnValue As Boolean
returnValue = Me.IsBestBet(objectDataRow)
protected virtual bool IsBestBet(
DataRow objectDataRow
)
Parameters
objectDataRow
Type: System.Data.DataRowDataRow that represents one result in the result set.
Return Value
Type: System.Boolean
A Boolean value; true if the specified search result is a Best Bet; otherwise, false.
Remarks
The IsBestBet method checks the properties of the specified item in the property table.