Value Method (PIModuleVersionList object)

             

Gets a PIModule object value by QueryDate from the PIModuleVersionList.

Syntax

object.Value varQueryDate, rtCode

The Value method syntax has these parts:

Part Description
object An object expression that evaluates to a PIModule object.
varQueryDate

A VARIANT representing the QueryDate. The VARIANT may be a PITime, DATE, String, or numeric. Interpretation of DATE, strings and numerics is consistent with PITime's interpretation.

rtCode RetrievalTypeConstants enumeration specifying type of retrieval.

Remarks

Returns the matching PIModule from the list. Allowable retrieval types are explained in the following table:

rtCode Description
rtAtOrBefore Value where EffectiveDate equals QueryDate, else the next value older than QueryDate.
rtAtOrAfter Value where EffectiveDate equals QueryDate, else the next value newer than QueryDate.
rtInterpolated Same meaning as rtAtOrBefore.
rtCompressed Same meaning as rtAtOrBefore.
rtAuto Same meaning as rtAtOrBefore.
rtBefore Next value older than the QueryDate.
rtAfter Next value newer than the QueryDate.

 

 

 

Enabling Operational Intelligence