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.

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

Syntax

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