Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGroupingRequest(TGroup) Constructor (String, Int32)

AFGroupingRequest(TGroup) Constructor (String, Int32)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGroupingRequest(TGroup) Constructor (String, Int32)
Creates a histogram request on the specified field and using the specified bins.

Namespace:  OSIsoft.AF.Data.Aggregate
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFGroupingRequest(
	string field,
	int maximumGroups
)
Public Sub New ( 
	field As String,
	maximumGroups As Integer
)

Dim field As String
Dim maximumGroups As Integer

Dim instance As New AFGroupingRequest(field, maximumGroups)
public:
AFGroupingRequest(
	String^ field, 
	int maximumGroups
)
new : 
        field : string * 
        maximumGroups : int -> AFGroupingRequest

Parameters

field
Type: SystemString
The field whose value should be used to assign a bin.
maximumGroups
Type: SystemInt32
The maximum number of groups permitted.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in