SqlDataDictionary.indexDrop Method

Drops the indexes of an Microsoft Dynamics AX table in the SQL database.

Syntax

public int indexDrop(
   [TableId tableId, 
    IndexId indexId, 
    boolean onlyNonUnique])

Run On

Server

Parameters

Return Value

Type: int
Zero if the method succeeds.

Remarks

Use 0 for the parameters to indicate all tables or indexes.

Examples

{ 
    SqlDataDictionary DD = new SqlDataDictionary(); 
    DD.indexDrop(TableName2Id("Address")); 
}

See Also

Reference

SqlDataDictionary Class