|
|
|
|
<mongoCollection variable>.DeleteCollection (Function) In french: <Variable mongoCollection>.SupprimeCollection Deletes a collection from a MongoDB database. cntMDB is mongoConnection MyCollection is mongoCollection MyCollection = cntMDB.Database["CRM"].Collection["product"] MyCollection.DeleteCollection()
gclCollection is mongoCollection gclCollection.DeleteCollection()
Syntax
<Result> = <Collection>.DeleteSet()
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. ErrorInfo is used to identify the error.
<Collection>: mongoCollection variable Name of the mongoCollection variable to delete from the MongoDB database.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|