AFAnalysisRule.GetOutputsForAnalyses Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns a mapping of AFAttributes to the AFAnalysis that outputs values to them.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFKeyedResults<AFAttribute, AFAnalysis> GetOutputsForAnalyses( IEnumerable<AFAnalysis> analyses )
Public Shared Function GetOutputsForAnalyses ( analyses As IEnumerable(Of AFAnalysis) ) As AFKeyedResults(Of AFAttribute, AFAnalysis) Dim analyses As IEnumerable(Of AFAnalysis) Dim returnValue As AFKeyedResults(Of AFAttribute, AFAnalysis) returnValue = AFAnalysisRule.GetOutputsForAnalyses(analyses)
public: static AFKeyedResults<AFAttribute^, AFAnalysis^>^ GetOutputsForAnalyses( IEnumerable<AFAnalysis^>^ analyses )
static member GetOutputsForAnalyses : analyses : IEnumerable<AFAnalysis> -> AFKeyedResults<AFAttribute, AFAnalysis>
Parameters
- analyses
- Type: System.Collections.GenericIEnumerableAFAnalysis
The set of AFAnalysis instances to examine.
Return Value
Type: AFKeyedResultsAFAttribute, AFAnalysisA collection of AFAnalysis keyed by AFAttribute.
Remarks
Only analyses supporting state passing are considered.
If multiple analyses are configured to output to the same attribute, the first one examined will be set in the results collection and an error will be present in the errors collection.