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

AF SDK Reference

AFDurationQuery Constructor

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFDurationQuery Constructor
Creates a new instance of the AFDurationQuery structure.

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

Syntax

public AFDurationQuery(
	AFSearchOperator searchOperator,
	TimeSpan duration
)
Public Sub New ( 
	searchOperator As AFSearchOperator,
	duration As TimeSpan
)

Dim searchOperator As AFSearchOperator
Dim duration As TimeSpan

Dim instance As New AFDurationQuery(searchOperator, 
	duration)
public:
AFDurationQuery(
	AFSearchOperator searchOperator, 
	TimeSpan duration
)
new : 
        searchOperator : AFSearchOperator * 
        duration : TimeSpan -> AFDurationQuery

Parameters

searchOperator
Type: OSIsoft.AF.SearchAFSearchOperator
The value for the Operator property.
duration
Type: SystemTimeSpan
The value for the Duration property.

Version Information

AFSDK


See Also

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