Click or drag to resize
SearchIndexInfoProviderSetIndexStatus Method
Sets status of indexInfo to status. The method sets IndexStatus or IndexStatusLocal based on the following criteria. For shared storage file system based indexes or Azure indexes, the first property is set. For local storage file system based indexes, the latter one is set.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
public static void SetIndexStatus(
	SearchIndexInfo indexInfo,
	IndexStatusEnum status
)

Parameters

indexInfo
Type: CMS.SearchSearchIndexInfo
Search index info whose status is to be set.
status
Type: CMS.SearchIndexStatusEnum
Status to be set.
See Also