Remove an McDBType instance (Object Type definition) from this collection (i.e. Delete it from the database)
Return Type
None
Syntax
object.RemoveName
The Remove Method syntax has these parts:
Part
Description
object
An expression evaluating to an object of type McDBTypes.
Name
Required. A String value.
The database unique name of the object type to Remove/Delete.
Exceptions
E_INVALIDARG &H80070057 No McDBType definition exists with the
Name specified.
E_FAIL &H80004005 The McDBType specified for Removal is
still being referenced by one or
more database objects, and so cannot
be removed.
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have McDBType
Administration privileges (McDBRightsOwner.ObjectTypeAdminRight).
E_UNEXPECTED &H8001FFFF A frameworkerror occurred while attempting
to attempt the new McDBType.