Skip to main content

Operations: How to Get Indexes

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

Syntax

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

Example

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