Click or drag to resize
AzureIndexStatisticsProviderGetStatistics Method
Gets statistics of an Azure index.

Namespace: CMS.Search.Azure
Assembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 12.0.0
Syntax
C#
public IIndexStatistics GetStatistics(
	SearchIndexInfo indexInfo
)

Parameters

indexInfo
Type: CMS.SearchSearchIndexInfo
Index to retrieve statistics for.

Return Value

Type: IIndexStatistics
Statistics of given index, or null when statistics are not available.

Implements

IIndexStatisticsProviderGetStatistics(SearchIndexInfo)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when indexInfo is null.
ArgumentExceptionThrown when IndexProvider of given indexInfo is not Azure.
Remarks
This method returns null if index does not exist within Azure Search service or the index's service name and admin API key are not valid.
See Also