Skip to content

Latest commit

 

History

History
63 lines (54 loc) · 2.5 KB

File metadata and controls

63 lines (54 loc) · 2.5 KB
title Delete Method (ADOX Collections) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
Views::Delete
Groups::Delete
Indexes::raw_Delete
Columns::raw_Delete
Tables::Delete
Keys::Delete
Users::Delete
Users::raw_Delete
Keys::raw_Delete
Procedures::raw_Delete
Views::raw_Delete
Indexes::Delete
Procedures::Delete
Groups::raw_Delete
Tables::raw_Delete
Columns::Delete
helpviewer_keywords
delete method [ADOX]
ms.assetid e6b6e3a4-8952-4d79-81f4-51019c338374
author MightyPen
ms.author genemi

Delete Method (ADOX Collections)

Removes an object from a collection.

Syntax

  
Collection.Delete Name  

Parameters

Name
A Variant that specifies the name or ordinal position (index) of the object to delete.

Remarks

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.

Applies To

Columns Collection (ADOX) Groups Collection (ADOX) Indexes Collection (ADOX)
Keys Collection (ADOX) Procedures Collection (ADOX) Tables Collection (ADOX)
Users Collection (ADOX) Views Collection (ADOX)

See Also

Procedures Delete Method Example (VB)
Views Delete Method Example (VB)