ReleaseUpdateDB60_Invent.changeClusterIndex Method [AX 2012]

Changes the clustered index on a table.

protected boolean changeClusterIndex(
    TableId _tableId, 
    IndexName _newClusteredIndexName, 
    boolean _throwOnError)

Run On

Server

Parameters

_tableId
Type: TableId Extended Data Type
The tableId of the table that should have the index changed.
_newClusteredIndexName
Type: IndexName Extended Data Type
The name of the new clustered index.
_throwOnError
Type: boolean
A boolean that determines if an exception should be thrown if there are errors.

Return Value

Type: boolean
true if the index was changed; otherwise, false.

Community Additions

ADD
Show: