Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAttributeList.GetRawPIPoint Method

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFAttributeList.GetRawPIPoint Method

Note: This API is now obsolete.

Returns the PISDK.PIPoint that each attribute in the list represents.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[ObsoleteAttribute("Use the GetPIPoint method. This method returns a PI SDK COM object which may not be available on all platforms.")]
public Object[] GetRawPIPoint()
<ObsoleteAttribute("Use the GetPIPoint method. This method returns a PI SDK COM object which may not be available on all platforms.")>
Public Function GetRawPIPoint As Object()

Dim instance As AFAttributeList
Dim returnValue As Object()

returnValue = instance.GetRawPIPoint()
public:
[ObsoleteAttribute(L"Use the GetPIPoint method. This method returns a PI SDK COM object which may not be available on all platforms.")]
array<Object^>^ GetRawPIPoint()
[<ObsoleteAttribute("Use the GetPIPoint method. This method returns a PI SDK COM object which may not be available on all platforms.")>]
member GetRawPIPoint : unit -> Object[] 

Return Value

Type: Object
Returns an array whose individual values correspond to the PI Point for the Attribute in the matching index. If an error is generated in accessing this point, then an Exception will be stored in the array index. If no PI Point is mapped for an attribute, then the value at the corresponding index will be .

Remarks

The call is equivalent to accessing the RawPIPoint property on each attribute, however this call can batch the calls to the PI Data Archive in a more efficient manner. PI SDK objects are subject to COM threading model rules. If this method is accessed from an STA thread, the PISDK.PIPoint will have been created on this thread. If this method is accessed from an MTA thread, then the PISDK.PIPoint will have been created on an MTA thread, although not necessarily this MTA thread.

Version Information

AFSDK

Supported in: 2.6, 2.5, 2.4
Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in