Description

Remove an McDBDatabase defintion (mapping) from this McDBDatabases collection.

Return Type

None  

Syntax

object.Remove Index

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBDatabases.
IndexRequired. A Variant value.

The (0-based) numeric index or string Logical McDBDatabase.Name to remove from this McDBDatabases.

Remarks

No reference count checking is done on the specified McDBDatabase. Any references held to McDBDatabase objects previously issued remain valid, although the database will no longer appear in this McDBDatabases collection.

Exceptions

Error Value Description
E_INVALIDARG &H80070057 Index does not specify a member of this McDBDatabases.

Notes

Remove doesn't actually do anything permanant. That is, database files and configuration file defintions remain unchanged after this call.