Language
Java
Article For
4.0 4.2 5.0 5.1 5.2

Operations: How to Get an Index

GetIndexOperation is used to retrieve an index definition from a database.

Syntax

public GetIndexOperation(string indexName)
Parameters
indexName string name of an index
Return Value
IndexDefinition Instance of IndexDefinition representing index.

Example

IndexDefinition index = store.Maintenance.Send(new GetIndexOperation("Orders/Totals"));