SetDataSource Method (PIAlias object)

             

Sets the PIAlias object’s data source. The DataSource is always a PIPoint.

 

Syntax

object.SetDataSource pPIPoint

The SetQueryDate method syntax has these parts:

Part

Description

object

An object expression that evaluates to the PIAlias object.

pPIPoint

An object expression that evaluates to the PIPoint object.

 

Remarks

The data source may be a PIPoint on any Server in the Servers collection. A PIAlias relates PI time series data with the PIModule.

 

This method is for setting the data source. For getting it, see the DataSource property.

Enabling Operational Intelligence