Click or drag to resize
OSIsoft, LLC

AFDataRecordedValuesAtTimes Method

Retrieves recorded values at the specified times.

Namespace:  OSIsoft.AF.Data
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public AFValues RecordedValuesAtTimes(
	IList<AFTime> times,
	AFRetrievalMode mode,
	UOM desiredUOM


Type: System.Collections.GenericIListAFTime
List of time stamps at which to retrieve recorded values.
Type: OSIsoft.AF.DataAFRetrievalMode
The mode is used to determine the value to return when a value does not exist at the exact time specified. The value is taken from the AFRetrievalMode enumeration.
Type: OSIsoft.AF.UnitsOfMeasureUOM
The desired unit of measure for the returned value. If , then the value is returned in the unit of measure specified by the associated attribute's DefaultUOM property.

Return Value

Type: AFValues
Returns an AFValues collection with the recorded values at the specified times.
ArgumentNullException The times is .
ArgumentException The times list must be monotonic.

Note Notes to Callers
This method, property, or class is only available in the .NET 4 version of the SDK.

Security note Security Note
You must have ReadData security rights to read a data value.

Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8
See Also
Enabling Operational Intelligence