|
|
|
|
<mongoDatabase variable>.DeteleDatabase (Function) In french: <Variable mongoBase>.SupprimeBase Deletes a MongoDB database as well as its collections. CntMDB is mongoConnection MyMongoDatabase is mongoDatabase MyMongoDatabase = CntMDB.Database["CRM"] MyMongoDatabase.DeleteDatabase()
Syntax
<Result> = <Database>.DeleteDatabase()
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. ErrorInfo is used to identify the error.
<Database>: mongoDatabase variable Name of the mongoDatabase variable that corresponds to the Mongo database to delete.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|