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.
Returns the weight for an importance level.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetImportanceLevelWeight ( _
ImportanceLevel As FullTextIndexImportanceLevel _
) As Integer
'Usage
Dim instance As FullTextIndexRankComponent
Dim ImportanceLevel As FullTextIndexImportanceLevel
Dim returnValue As Integer
returnValue = instance.GetImportanceLevelWeight(ImportanceLevel)
int GetImportanceLevelWeight(
FullTextIndexImportanceLevel ImportanceLevel
)
Parameters
ImportanceLevel
Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndexImportanceLevelA FullTextIndexImportanceLevel that specifies the importance level to return the weight for.
Return Value
Type: System.Int32
Integer that specifies the importance level weight
Exceptions
| Exception | Condition |
|---|---|
| AdminException | if the full text index rank component does not exist. |
See Also
Reference
FullTextIndexRankComponent Interface
FullTextIndexRankComponent Members
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace
SetImportanceLevelWeight(FullTextIndexImportanceLevel, Int32)