Insert Method (PIModuleVersionList object)

             

Inserts an existing PIModule value into the collection. A PIModuleVersionList is a collection of PIModule values from the same PIModule. They all must have different EffectiveDate's.  

 

Syntax

object.Insert pPIModule

The Insert method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIModuleVersionList object.

pPIModule

PIModule value to insert into the collection.

 

Remarks

The PIModuleVersionList can be used as a local collection of PIModule values. The insert method allows PIModule values obtained from other access techniques, for example, IPIVersion.PrevValue and IPVersion.NextValue.

Inserting a PIModule into this list does not change any Server databases.

 

Trappable Errors

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

Error

Description

pseNOGENSERVER

The parent underlying generic server object could not be retrieved.

 

Enabling Operational Intelligence