AFDurationQuery Constructor
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
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.