DeleteDatabase()

Summary

Deletes a standard or compact geographic file.

Syntax

DeleteDatabase(string pathname)

Argument Contents
pathname The full path and filename of the geographic file to be deleted

Notes

  • DeleteDatabase() deletes all of the files that make up a particular geographic file. The actual number of files that are deleted depends upon the file type (compact or standard), the type of features that are in the file (point, line, or area), and the presence or absence of tabular data.

Error Codes

Error Type Meaning
Error The geographic file is in use, or the file is read-only
NotFound There is no file by this name

See Also

Function Summary
GetDBFiles() Creates a list of files associated with the geographic file