CDaoDatabase::DeleteTableDef
Call this member function to delete the specified table and all of its data from the CDaoDatabase object's TableDefs collection.
void DeleteTableDef(
LPCTSTR lpszName
);
Параметры
- lpszName
The name of the tabledef to delete.
Заметки
Afterwards, that table is no longer defined in the database.
Примечание. |
---|
Be very careful not to delete system tables. |
For information about creating tabledef objects, see class CDaoTableDef. A tabledef object becomes associated with a particular CDaoDatabase object when you construct the CDaoTableDef object, passing it a pointer to the database object.
For related information, see the topic "Delete Method" in DAO Help.
Требования
Header: afxdao.h