Begin Method (IPITransaction interface)

              

 

This method sets the object into transaction mode. In this mode, changes to the object aren't written to the server.

 

Syntax

object.Begin pvarTransactionID

The Begin method syntax has these parts:

Part

Description

object

An object expression that evaluates to a IPITransaction interface. See the Applies To list in the IPITransaction definition for a list of objects that support this interface.

pvarTransactionID

Pointer to VARIANT to return the Transaction ID

  

Remarks

Returns the Transaction ID. This is a GUID that can be used to roll back this transaction (not implemented).

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

pseIPITTransactionBegun

The object is already in transaction mode.

 

Enabling Operational Intelligence