PrevValue Method (IPIVersion interface)

             

Returns the previous value of an object as an object:  the value older than the owner value.

 

Syntax

object.PrevValue

The PrevValue method syntax has these parts:

Part

Description

object

An object expression that evaluates to a IPIVersion object.

 

Remarks

Returns the next older value of the owner object. If owner object is the oldest value, an error is returned. 

  

The IPIVersion interface may be supported by any PI-SDK object. The results are returned as an IUnknown object to support this abstraction. Currently, only PIModule supports this interface. The result in this case is a PIModule.

 

Trappable Errors

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

Error

Description

psePIVERSIONPREVVALUE

There was an error getting the previous value. Most likely this is because the owner object is the oldest value.

 

Enabling Operational Intelligence