StartTransaction method

Starts a transaction for this item.

Syntax


C++
HRESULT StartTransaction(
   IERUTransaction** ppRetVal)
Scripting languages
Set transaction = Object.StartTransaction()

Parameters


ppRetVal

Upon return, contains an IERUTransaction interface pointer to a Transaction object.

Return value


C++

The return code.

Scripting languages

Upon return, contains an IERUTransaction interface pointer to a Transaction object.

Remarks


  • The returned Transaction object can be used to commit or rollback the transaction.

  • If the Transaction object is released without being committed, the transaction is automatically rolled back and the object is refreshed.

Home

Applies to

IERUItem