CDaoDatabase::DeleteRelation

void DeleteRelation( LPCTSTR lpszName );
throw( CDaoException, CMemoryException );

Parameters

lpszName

The name of the relation to delete.

Remarks

Call this member function to delete an existing relation from the database object’s Relations collection. Afterwards, the relation no longer exists.

For related information, see the topic "Delete Method" in DAO Help.

CDaoDatabase OverviewClass MembersHierarchy Chart

See Also   CDaoDatabase::CreateRelation, CDaoTableDef::Create, CDaoQueryDef::Create