IPITransaction Interface

                                    

 

The IPITransaction interface is a secondary interface supported by the objects in the Applies To list.  The interface is used to accumulate changes to a local copy of an object and then either committing those changes to the server database or canceling them.

 

The interface has four methods (Begin, Commit, Cancel, and Rollback (not implemented)) and one property (IsDirty).

  

Remarks

 

This interface only works on single objects at a time. You must get a copy of this interface for each object you are modifying.

 

Only one transaction can be active on a particular object at a time. Simultaneous transactions on different objects are allowed.

 

This interface is an alternative to using ModifyAttributes. It allows the deletion of sub-objects (like PIProperty's) which ModifyAttributes does not.

 

ProgID: PISDK.IPITransaction

Enabling Operational Intelligence