Runs the execute function for getting the Keyword Count information for a given collection of Keyword Sets.
Namespace: ININ.IceLib.ConfigurationAssembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public static KeywordCountInformation GetKeywordCountInformation( ConfigurationManager configurationManager, IEnumerable<AnalyzerKeywordSetChannelRelationship> keywordSets ) |
Visual Basic |
---|
Public Shared Function GetKeywordCountInformation ( _ configurationManager As ConfigurationManager, _ keywordSets As IEnumerable(Of AnalyzerKeywordSetChannelRelationship) _ ) As KeywordCountInformation |
Parameters
- configurationManager
- Type: ININ.IceLib.Configuration..::..ConfigurationManager
A Configuration Manager instance.
- keywordSets
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'AnalyzerKeywordSetChannelRelationship>)>)>
The collection of Keyword Sets and their channel type to get the Keyword Count information for.
Return Value
A KeywordCountInformation object with the Keyword Counts for the provided Keyword Sets and the Keyword Count Limit.Remarks
A Keyword Count is calculated by counting the user defined words, anti-words, pronunciations, and anti-pronunciations
of a Keyword Set per language. The purpose of these counts is to verify that the total Keyword Counts of a Recorder
Policy's Keyword Set assignments does not exceed the Keyword Count limit. This function returns the total Keyword Counts
for a given collection of Keyword Sets and the Keyword Count limit.
If the collection of Keyword Sets provided to this function is empty, the returned KeywordCountInformation will have an empty
TotalKeywordCountsPerLanguage dictionary, but the Keyword Count Limit will still be provided.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The configurationManager parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.