SearchIndexInfoProviderGetIndexIDs Method |
Returns list of index ids for specified object type(s) and searchProvider.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax public static List<int> GetIndexIDs(
List<string> typeCodes,
string searchProvider = null
)
Parameters
- typeCodes
- Type: System.Collections.GenericListString
Object type names (separated with semicolon) - searchProvider (Optional)
- Type: SystemString
Defines search provider e.g. from IndexProvider for which to return relevant indexes.
If not defined ids for all search providers are returned.
Return Value
Type:
ListInt32See Also