AFCase.Reset Method (Boolean, Boolean)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method resets the input and/or output results generated in an analysis case.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Reset( bool resetInputs, bool resetOutputs )
Public Sub Reset ( resetInputs As Boolean, resetOutputs As Boolean ) Dim instance As AFCase Dim resetInputs As Boolean Dim resetOutputs As Boolean instance.Reset(resetInputs, resetOutputs)
public: void Reset( bool resetInputs, bool resetOutputs )
member Reset : resetInputs : bool * resetOutputs : bool -> unit
Parameters
- resetInputs
- Type: SystemBoolean
If , then inputs are cleared from the result set. Resetting of Inputs and Outputs is typically done before re-collecting inputs because existing Inputs will not be overwritten during CollectInputs Resetting inputs before checking in a completed case can significantly reduce storage requirements for a case. - resetOutputs
- Type: SystemBoolean
If , then output results are cleared from the result set. Resetting of outputs is typically done before re-running a case.
Remarks
This method will reset all the input and/or output results generated while executing
an analysis case run if they have not been adjusted. Any results that have an
AFAdjustment will not be reset.