Remove Method (PIModule)

                    

Removes a PIUnitBatch from the PIUnitBatch data store associated with this PIModule.

 

Syntax

object.Remove pUnitBatch

The Remove method syntax has these parts:

Part

Description

object

An object expression that evaluates to the PIModule object.

pUnitBatch

PIUnitBatch object to remove from server.

 

Remarks

This method will remove the PIUnitBatch permanently from the database.

If the PIUnitBatch is in the PIUnitBatches collection of a PIBatch, it must first be removed from that collection before it can be removed using this method.

 

Enabling Operational Intelligence