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

AF SDK Reference

PIPointList.Snapshot Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPointList.Snapshot Method

Note: This API is now obsolete.

Returns an AFListResultsTKey, TResult object containing a list of AFValue objects representing the snapshot for the PIPoint objects in the list. The order of the AFValue objects in the results list is the same order as the corresponding PIPoint in the PIPointList. Point level error and PIServer level errors can be accessed in the AFListResultsTKey, TResult error collections.

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

Syntax

[BrowsableAttribute(false)]
[ObsoleteAttribute("Use PIPointList.CurrentValue().")]
public AFListResults<PIPoint, AFValue> Snapshot()
<BrowsableAttribute(false)>
<ObsoleteAttribute("Use PIPointList.CurrentValue().")>
Public Function Snapshot As AFListResults(Of PIPoint, AFValue)

Dim instance As PIPointList
Dim returnValue As AFListResults(Of PIPoint, AFValue)

returnValue = instance.Snapshot()
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"Use PIPointList.CurrentValue().")]
AFListResults<PIPoint^, AFValue^>^ Snapshot()
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("Use PIPointList.CurrentValue().")>]
member Snapshot : unit -> AFListResults<PIPoint, AFValue> 

Return Value

Type: AFListResultsPIPoint, AFValue
A list of AFValue objects representing the snapshots for the PIPoint objects in the list. The results are returned as an AFListResultsTKey, TResult object. If any point level or server level errors occur, they added to the corresponding error collections in the AFListResultsTKey, TResult

Version Information

AFSDK

Supported in: 2.6, 2.5
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
Related Links
TitleResults for “How to create a CRG?”Also Available in