Click or drag to resize
OSIsoft, LLC

AFSearchSummary Method (String, AFSummaryTypes, String)

Summarizes the result of this search with the specified weighting.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public AFSummaryResult Summary(
	string field,
	AFSummaryTypes summaryTypes,
	string weightField
)

Parameters

field
Type: SystemString
The field that should be summarized.
summaryTypes
Type: OSIsoft.AF.DataAFSummaryTypes
The summaries that should be performed on the field.
weightField
Type: SystemString
The field that should be used to weight the values being summarized.

Return Value

Type: AFSummaryResult
A result containing the requested summaries or an error if the summaries could not be performed.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9
See Also
Enabling Operational Intelligence