ami_MethodSetIndex() Function Declaration ami_Error ami_MethodSetIndex( ami_Session inAmiSession, ami_Method inAmiMethod, const char * inpIndexName ); Purpose Specifies which return parameter to use as the primary key for methods that return tabular data. If you need to establish a composite index consisting of multiple parameters, this method can be called repeatedly, once for each index return parameter, in order of precedence with primary key first. Parameters Parameter Description inAmiSession Handle of AMI session. inAmiMethod Handle of AMI method. inpIndexName Return parameter name.