SearchTaskInfoProvider CreateTask Method (SearchTaskCreationParameters, Nullable Boolean )Kentico 8.1 API Reference
Creates task in the database and start indexer if it is required.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

parameters
Type: CMS.Search SearchTaskCreationParameters
Search task creation parameters
runIndexer (Optional)
Type: OnlineSystem Nullable OnlineBoolean 
Whether indexer starts after creation. If not specified this behaviour depends on current settings.
See Also