AFSummaryRequest.GroupBy Method (String)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Creates a grouping with this summary grouped by values of the specified field.
Namespace: OSIsoft.AF.Data.Aggregate
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFGroupingRequest<Object> GroupBy( string field )
Public Function GroupBy ( field As String ) As AFGroupingRequest(Of Object) Dim instance As AFSummaryRequest Dim field As String Dim returnValue As AFGroupingRequest(Of Object) returnValue = instance.GroupBy(field)
public: AFGroupingRequest<Object^>^ GroupBy( String^ field )
member GroupBy : field : string -> AFGroupingRequest<Object>
Parameters
- field
- Type: SystemString
The field to group by.
Return Value
Type: AFGroupingRequestObjectAn summary request grouped by discrete values of the specified field.