ADO Delete Method

Definition and Usage

The Delete method can delete an object from the Parameters collection.

Note:This method can only be used on the Parameters collection of the Command object.

When calling the Delete method, you must use the Name property of the Parameter object or its collection index - the object variable is not a valid parameter.

Syntax

objparameter.Delete index
Parameter Description
index String value, this value contains the name of the object to be deleted, or the order position (index) of the object in the collection.