DBStorage.DeleteData Method

The DeleteData method deletes data from a DBStorage object.

Syntax

DBStorage.DeleteData(Null, Data)

Parameters

Null
This parameter is required for compatibility with Commerce Server 2.0, but is not used.
Data
An object initialized with the data to delete. This object can be either an OrderForm or a Dictionary, but must correspond in type to the object type specified as the program identifier in the initial call to InitStorage.

Example

The following example is from The Clocktower's xt_orderform_purchase.asp file. This example is called after the purchasing pipeline is processed successfully:

REM -- clear out basket:
   call orderFormStorage.DeleteData(null, orderForm)

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.