Operations: How to Get Indexes

GetIndexesOperation is used to retrieve multiple index definitions from a database.

Syntax

public GetIndexesOperation(int start, int pageSize)
Parameters
start int Number of indexes that should be skipped
pageSize int Maximum number of indexes that will be retrieved
Return Value
IndexDefinition Instance of IndexDefinition representing index.

Example

IndexDefinition[] indexes = store.Maintenance.Send(new GetIndexesOperation(0, 10));