FullTextIndexRankComponent.SetImportanceLevelWeight Method
Sets the specific weight for a given importance level in the full text index.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Sub SetImportanceLevelWeight ( _
ImportanceLevel As FullTextIndexImportanceLevel, _
Weight As Integer _
)
'Usage
Dim instance As FullTextIndexRankComponent
Dim ImportanceLevel As FullTextIndexImportanceLevel
Dim Weight As Integer
instance.SetImportanceLevelWeight(ImportanceLevel, _
Weight)
void SetImportanceLevelWeight(
FullTextIndexImportanceLevel ImportanceLevel,
int Weight
)
Parameters
ImportanceLevel
Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndexImportanceLevelA FullTextIndexImportanceLevel that specifies the importance level.
Weight
Type: System.Int32An integer that specifies the weight for the importance level.
Exceptions
Exception | Condition |
---|---|
AdminException | if the configuration deployment fails. A specific error message will provide further details along with the exception. |
See Also
Reference
FullTextIndexRankComponent Interface
FullTextIndexRankComponent Members
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace