BestBetCollection.AddBestBet Method (String, Uri, Context)
Adds a best with the specified best bet name and Uri and attach it to the specified context.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function AddBestBet ( _
name As String, _
uri As Uri, _
cx As Context _
) As BestBet
'Usage
Dim instance As BestBetCollection
Dim name As String
Dim uri As Uri
Dim cx As Context
Dim returnValue As BestBet
returnValue = instance.AddBestBet(name, _
uri, cx)
BestBet AddBestBet(
string name,
Uri uri,
Context cx
)
Parameters
name
Type: System.StringThe name of the best bet.
uri
Type: System.UriThe URI of the best bet.
cx
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.ContextTo context to which the best bet is to be attached.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.BestBet
A BestBet object representing the added best bet.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace