Previous in Contents Next in Contents

IDBStorage::CommitData

The CommitData method updates the database table based on the contents of a Dictionary or OrderForm.

Syntax

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

Parameters

vtReserved
Reserved for future use. CommitData ignores the value of this parameter.
pdispData
An IDispatch interface pointer on the OrderForm or Dictionary that contains the updated data.

Include

<commerce.h>

Library

commerce.lib

Return Value

Value Description
S_OK This method always returns S_OK. If the operation is unsuccessful, the pdispData out-value evaluates to NULL.

Related Topic

IDBStorage::InsertData


© 1997-2000 Microsoft Corporation. All rights reserved.