Removes an object from a collection.
Collection.Delete Name
An error will occur if the Name does not exist in the collection.
For Tables and Users collections, an error will occur if the provider does not support deleting tables or users, respectively. For Procedures and Views collections, Delete will fail if the provider does not support persisting commands.
Procedures Delete Method Example (VB) | Views Delete Method Example (VB)
Applies To: Columns Collection | Groups Collection | Indexes Collection | Keys Collection | Procedures Collection | Tables Collection | Users Collection | Views Collection