Previous in Contents Next in Contents

IDBStorage::DeleteData

The DeleteData method deletes a row from the data source, based on the data stored in a Dictionary object. The IDispatch pointer passed in by the caller is an interface on this Dictionary.

Syntax

HRESULT DeleteData(
VARIANT vtReserved,// in
IDispatch *pdispData// in
);

Parameters

vtReserved
Reserved for future use. This parameter is ignored by DeleteData.
pdispData
An IDispatch pointer on a Dictionary. This Dictionary describes the data to be deleted. The names in this Dictionary identify the columns in a row, and the values identify the values to be inserted into the referenced columns.

Include

<commerce.h>

Return Value

Value Description
S_OK The function was successful.
E_INVALIDARG The pdispData parameter is NULL.

Related Topic

IDBStorage::DeleteDataKey, IDBStorage::CommitData, IDBStorage::InsertData


© 1997-2000 Microsoft Corporation. All rights reserved.