AFAggregateResultCollection.GetResult(TGroup) Method (AFGroupingRequest(TGroup))
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Gets the grouped result for the specified request.
Namespace: OSIsoft.AF.Data.Aggregate
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFGroupedResult<TGroup> GetResult<TGroup>( AFGroupingRequest<TGroup> request )
Public Function GetResult(Of TGroup) ( request As AFGroupingRequest(Of TGroup) ) As AFGroupedResult(Of TGroup) Dim instance As AFAggregateResultCollection Dim request As AFGroupingRequest(Of TGroup) Dim returnValue As AFGroupedResult(Of TGroup) returnValue = instance.GetResult(request)
public: generic<typename TGroup> AFGroupedResult<TGroup>^ GetResult( AFGroupingRequest<TGroup>^ request )
member GetResult : request : AFGroupingRequest<'TGroup> -> AFGroupedResult<'TGroup>
Parameters
- request
- Type: OSIsoft.AF.Data.AggregateAFGroupingRequestTGroup
The request to locate a result for.
Type Parameters
- TGroup
- The type to convert the field values to and group by.
Return Value
Type: AFGroupedResultTGroupThe grouped result for the specified request.