Drop an Index

Use DropIndex to drop an index from an MBO table located on the device database.

/**

@param entity the EntityMetaData for the table
@param name the name of the index
*/
public static void DropIndex(EntityMetaData entity, String name)

Example 1

SampleDB.CloseDBConnection();
SampleDB.DropIndex(SampleMBO.GetMetaData(),
    "sampleIndex");