Delete
Purpose
The CMetaObject class Delete function deletes all versions of this object from the MDS repository database. The user must have delete permission on all of the object's versions.
Requirements
The ObjectID must be set in the object. and it must be for a version of the object.
See the section on Delete Propagation in Chapter 3 of this guide.
Syntax
HRESULT Delete(void);