AFAnalysisService.RuntimeInformationFields Property
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property is a collection of all the fields supported by PI Analysis Service for runtime query
for this PISystem.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public ICollection<string> RuntimeInformationFields { get; }
Public ReadOnly Property RuntimeInformationFields As ICollection(Of String) Get Dim instance As AFAnalysisService Dim value As ICollection(Of String) value = instance.RuntimeInformationFields
public: property ICollection<String^>^ RuntimeInformationFields { ICollection<String^>^ get (); }
member RuntimeInformationFields : ICollection<string> with get
Property Value
Type: ICollectionStringA collection of all fields supported by the analysis service for runtime query for this PISystem.
Remarks
The following fields are supported in both QueryRuntimeInformation(String, String) and QueryRuntimeInformationTObject(String, String, FuncIListAFAnalysisServiceRuntimeFieldValue, TObject) queryString and fields arguments.
| Field name | Value type | Description |
|---|---|---|
| ID | Guid | Analysis GUID |
| name | String | Analysis name |
| category | String | Analysis category |
| description | String | Analysis description |
| elementName | String | Analysis element |
| template | String | Analysis template, empty if none |
| path | String | Full path of the analysis |
| status | String | Analysis status in the analysis service from the set of "Running", "Stopped", "Starting", "Stopping", "Error", "Warning", and "Suspended" |
| statusDetail | String | Error, warning and suspended status details when available |
| lastEvaluationStatus | String | Last evaluation status from the set of "Success", "Error", and "Skipped" |
| lastEvaluationStatusDetail | String | Last evaluation error details when available |
| lastLag | Double | The last evaluation lag with respect to the trigger time in milliseconds |
| averageLag | Double | Average evaluation lag with respect to the trigger time in milliseconds since service start |
| lastElapsed | Double | The amount of time in milliseconds spent evaluating the last execution of the analysis |
| averageElapsed | Double | Average amount of time in milliseconds spent evaluating the analysis since service start |
| lastTriggerTime | DateTime | The last trigger time of the analysis |
| averageTrigger | Double | Average time in milliseconds between two triggering events |
| successCount | Int32 | Successful evaluation count since service start |
| errorCount | Int32 | Failed evaluation count since service start |
| skipCount | Int32 | Skipped evaluation count since service start |
Additionally, the following directives can be used in both QueryRuntimeInformation(String, String) and QueryRuntimeInformationTObject(String, String, FuncIListAFAnalysisServiceRuntimeFieldValue, TObject) queryString to sort and limit the response.
| Field name | Value type | Description |
|---|---|---|
| sortBy | String | Field name to sort by |
| sortOrder | String | "Asc" or "Desc" for ascending and descending sorting, respectively |
| maxCount | Int32 | Maximum number or results to return |