AFAnalysisRule.Reset Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Resets any dynamic state associated with the analysis rule.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual void Reset()
Public Overridable Sub Reset Dim instance As AFAnalysisRule instance.Reset()
public: virtual void Reset()
abstract Reset : unit -> unit override Reset : unit -> unit
Remarks
This method will reset any dynamic state for itself and any child analysis rules.
An analysis rule should implement this method if it has dynamic state that may need to be reset. It should reset its own dynamic state and then call the base implementation. The base implementation will handle resetting any child analysis rules.