Click or drag to resize
SearchTaskInfoProviderCreateTask Method (SearchTaskCreationParameters, NullableBoolean)
Creates task in the database and start indexer if it is required.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
public static void CreateTask(
	SearchTaskCreationParameters parameters,
	Nullable<bool> runIndexer = null
)

Parameters

parameters
Type: CMS.SearchSearchTaskCreationParameters
Search task creation parameters
runIndexer (Optional)
Type: SystemNullableBoolean
Whether indexer starts after creation. If not specified this behavior depends on current settings.
See Also