SearchTaskInfoProvider CreateTask Method (SearchTaskCreationParameters, Nullable Boolean )Kentico 8.0 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.0.5239.26125)

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