Skip to main content

Operations: How to Get Index Names

GetIndexNamesOperation is used to retrieve multiple index names from a database.

Syntax

public GetIndexNamesOperation(int start, int pageSize);
Parameters
startintNumber of index names that should be skipped
pageSizeintMaximum number of index names that will be retrieved
Return Value
string[]This methods returns an array of index name as a result.

Example

string[] indexNames = store.Maintenance.Send(new GetIndexNamesOperation(0, 10));