Delete Method (Collection) ADO

Deletes an object from a collection.

Applies To

Parameters

Required Files

msado15.dll
VC: adoint.h, adoid.h

Syntax

Parameters.Delete Object

Object A String representing the name of the object you wish to delete.

Remarks

Using the Delete method on a collection lets you remove one of the objects in the collection. This method is available only on the Parameters collection of a Command object. You must use the Parameter object's Name property when calling the Delete method — an object variable is not a valid argument.

Examples

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.