# classname_indexname_get_index(index on vector)

> This function returns the index identifier for the index associated with the cursor passed in ‘c’.

### Prototype

>         MCO_RET	classname_indexname_get_index(	mco_cursor_h c,
>                                 /*OUT*/ uint2 * index);

### Arguments

c | A cursor handle returned by *_index_cursor
index | The index ID of the index associated with this cursor.

### Description

> This function returns the index identifier for the index associated with the cursor passed in ‘c’.

### Return Codes

MCO_S_OK | Index identifier returned in pointer ‘index’.
MCO_ERR_CURSOR | Fatal error in cursor operation