AFDataReference.GetPIPointDataReference Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method will return the AFPlugIn for the PIPoint
data reference.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFPlugIn GetPIPointDataReference( PISystem system = null )
Public Shared Function GetPIPointDataReference ( Optional system As PISystem = Nothing ) As AFPlugIn Dim system As PISystem Dim returnValue As AFPlugIn returnValue = AFDataReference.GetPIPointDataReference(system)
public: static AFPlugIn^ GetPIPointDataReference( PISystem^ system = nullptr )
static member GetPIPointDataReference : ?system : PISystem (* Defaults: let _system = defaultArg system null *) -> AFPlugIn
Parameters
- system (Optional)
- Type: OSIsoft.AFPISystem
The PISystem used to lookup the PIPoint data reference. If , then a global data reference will be returned that is not associated with a PISystem.
Return Value
Type: AFPlugInReturns a PIPoint data reference.
Remarks
This is a convenience method to return the PIPoint data reference.
It is best if the system parameter be specified if it is
known to ensure the correct version of the data reference is returned for
the PISystem.