Insert Method (PIModuleList object)

             

Inserts an existing PIModule into the collection.

 

Syntax

object.Insert pPIModule

The Insert method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIModuleList object.

pPIModule

PIModule to insert into the collection.

 

Remarks

The PIModuleList can be used as a local collection of PIModule objects. The Insert method allows modules obtained from other sources to be added to the collection. Inserting a PIModule into this list does not change any Server databases.

Only one value of a particular PIModule may be in a list. If you want to put multiple values of a single PIModule into a list, use a PIModuleVersionList.

 

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