Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
void DeleteIndex( LPCTSTR lpszName );
throw( CDaoException, CMemoryException );
void DeleteIndex( int nIndex );
throw( CDaoException, CMemoryException );
Parameters
lpszName
A pointer to a string expression that is the name of an existing index.
nIndex
The array index of the index object in the database’s zero-based TableDefs collection, for lookup by index.
Remarks
Call this member function to delete an index in an underlying table. You can use this member function on a new object that hasn’t been appended to the database or when CanUpdate returns nonzero.
For more information on tabledefs, see the articles and in Visual C++ Programmer's Guide. For related information, see the topic "Delete Method" in DAO Help.
CDaoTableDef Overview | Class Members | Hierarchy Chart
See Also CDaoTableDef::CreateIndex, CDaoTableDef::CreateField, CDaoTableDef::DeleteField