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.
Ensures that the only specified RankingModel is set as the default model.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub EnsureDefault ( _
id As Guid _
)
'Usage
Dim instance As RankingModelCollection
Dim id As Guid
instance.EnsureDefault(id)
public void EnsureDefault(
Guid id
)
Parameters
id
Type: System.GuidThe specified GUID associated with the RankingModel.
Remarks
This method throws a Exception if a ranking model that matches the specified GUID is not found.