Add Method (PIAliases collection)

             

Creates and adds a PIAlias to the collection.

 

Syntax

object.Add bstrName, Point, IsBatchAchored

The Add method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIAliases object.

bstrName

Name of PIAlias to create. The Name must be unique within the collection.

Point

Object that resolves to a PIPoint.

IsBatchAnchored 

Optional flag, if TRUE keeps events associated with the PIPoint within a PIUnitBatch.

 

Remarks

 Point is assigned to the PIAlias's DataSource property. IsBatchAnchored defaults to false and is assigned to the PIAlias's IsBatchAnchored property

 

Enabling Operational Intelligence