IndexCount property

Returns the number of indexes on the table.

Syntax
Visual Basic

Public Readonly Property IndexCount As Integer
C#

public int IndexCount  { get;}
Property value

The number of indexes on the table or 0 if the table schema is closed.

Remarks

Index IDs range from 1 to IndexCount, inclusively.

Note: Index IDs and count may change during a schema upgrade. To correctly identify an index, access it by name or refresh the cached IDs and counts after a schema upgrade.

See also