CDaoTableDef::GetIndexCount

short GetIndexCount( );
throw( CDaoException, CMemoryException );

Return Value

The number of indexes for the table.

Remarks

Call this member function to obtain the number of indexes for a table. If its value is 0, there are no indexes in the collection.

For more information on tabledefs, see the articles DAO Tabledef and DAO Tabledef: Using Tabledefs in Visual C++ Programmer's Guide. For related information, see the topic "Count Property" in DAO Help.

CDaoTableDef OverviewClass MembersHierarchy Chart

See Also   CDaoTableDef::GetIndexInfo, CDaoTableDef::GetFieldInfo, CDaoTableDef::GetFieldCount