AFDurationQuery Constructor
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- Developer
Creates a new instance of the AFDurationQuery structure.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.