You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Get Index Names

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


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


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